Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 2020-01-25-netbsd-raspi-earmv6hf.img (Re: Raspberry Pi update please.)



> On 21/01/2020 01:00, Jun Ebihara wrote:
>> I've updated 2020-01-25-netbsd9-raspi-earmv6hf.img.gz for RPI.
>> 
>> http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2020-01-25-earmv6hf/2020-01-25-netbsd-raspi-earmv6hf.img.gz
>> http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2020-01-25-earmv6hf/MD5
>> 
>> Update:
> [...]
>> - RPI3A+: not boot.
> 
> Hi,
> 
> Are there any more details about this? If it worked before do you know
> which commit broke it?

I'm seeing similar issues with aarch64.

A GENERIC64 kernel boots.  But if I enable Raspberry Pi WiFi (tweak to GENERIC64, add appropriate firmware files), then it fails to boot -- it hangs/dies just before finishing startup.  Looks like it never really starts up "init" or at least never begins running rc.d scripts.

Here's the final bits of output when it fails:

	[   4.8520824] WARNING: 5 errors while detecting hardware; check system log.
	[   4.8646197] boot device: ld0
	[   4.8721009] root on md0a dumps on md0b
	[   4.8721009] root file system type: ffs
	[   4.8721009] kern.module.path=/stand/evbarm/9.99.36/modules
	[   4.8846016] bwfm0: chip 0x00004345 rev 6
	[   4.8846016] WARNING: no TOD clock present
	[   4.8945291] WARNING: using filesystem time
	[   4.8986647] WARNING: CHECK AND RESET THE DATE!
	[   6.2546645] mue0 at uhub2 port 1
	[   6.2546645] mue0: vendor 0424 (0x424) product 7800 (0x7800), rev 2.10/3.00, addr 4
	[   6.5446960] mue0: LAN7800 id 0x7800 rev 0x2
	[   6.5546989] ukphy0 at mue0 phy 1: OUI 0x00800f, model 0x0013, rev. 2
	[   6.5546989] ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
	[   6.5657407] mue0: Ethernet address b8:27:eb:8e:50:6c

I cannot break into DDB with repeated pluses.  I've not tried much else to debug yet.

Contrast to final boot messages on a working kernel (identical except the "bwfm*   at sdmmc?" is commented out of GENERIC64):

	[   4.8361383] WARNING: 6 errors while detecting hardware; check system log.
	[   4.8486214] boot device: ld0
	[   4.8561426] root on md0a dumps on md0b
	[   4.8561426] root file system type: ffs
	[   4.8561426] kern.module.path=/stand/evbarm/9.99.23/modules
	[   4.8685530] WARNING: no TOD clock present
	[   4.8685530] WARNING: using filesystem time
	[   4.8767549] WARNING: CHECK AND RESET THE DATE!
	Tue Jan 21 18:33:52 GMT 2020
	Starting root file system check:
	/dev/rmd0a: file system is clean; not checking
	Starting file system checks:
	chown: root: invalid user name
	random_seed: /var/db/entropy-file: Not present
	Setting tty flags.
	Starting network.
	/etc/rc: WARNING: $hostname not set.
	IPv6 mode: host
	Configuring network interfaces:.
	Adding interface aliases:.
	Waiting for DAD to complete for statically configured addresses...
	Building databases: dev[   6.2371688] mue0 at uhub2 port 1
	[   6.2371688] mue0: vendor 0424 (0x424) product 7800 (0x7800), rev 2.10/3.00, addr 4
	, utmp, utmpx, services[   6.5272552] mue0: LAN7800 id 0x7800 rev 0x2
	[   6.5372537] ukphy0 at mue0 phy 1: OUI 0x00800f, model 0x0013, rev. 2
	[   6.5372537] ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
	[   6.5474068] mue0: Ethernet address b8:27:eb:8e:50:6c
	, master.passwd.
	Mounting all file systems...
	Clearing temporary files.
	Checking quotas: done.
	Setting securelevel: kern.securelevel: 0 -> 1
	/etc/rc: WARNING: No swap space configured!
	/etc/rc.d/swap2 exited with code 1
	/etc/rc: WARNING: No crash dump directory; savecore not run.
	Starting local daemons:.
	Updating motd.
	ssh-keygen: 521 SHA256:LB/uW7elrhpRj8vQNW4wu1z0oQIHNqiCEshtgvtAxUU root@ (ECDSA)
	ssh-keygen: 256 SHA256:M4cXE/A9T7xWYdR83QoU60xC4R/PS5LYA35x8pJUxnQ root@ (ED25519)
	ssh-keygen: 3072 SHA256:6W0lIGyQQdafdS/9xBnSHXeq9ZR0UqNr+d1X/omhw8k root@ (RSA)
	Starting sshd.
	The following components reported failures:
		/etc/rc.d/swap2
	See /var/run/rc.log for more information.
	Tue Jan 21 18:34:01 GMT 2020

	NetBSD/evbarm (Amnesiac) (constty)

	login:

I have not been able to go back and figure out where it broke.

(BTW, I'm running with a root fs on a RAM disk loaded from UEFI, and maybe a couple other tweaks -- nevertheless, GENERIC64 seems to work fine, but GENERIC64 + bwfm hangs).

Rob



Home | Main Index | Thread Index | Old Index