Re: [Fwd: install error on Netra 20 with LOM card]
This patch makes the kernel ignore the Netra 20 LOM device.
On my Netra 20, the kernel boots fine with this patch up until it
notices the lack in boot filesystem (kernel fed to netra using tftp).
This patch is a minor fix to one I got from Eric.
My apologies for the delay,
Eric Brower wrote:
-------- Original Message --------
Subject: install error on Netra 20 with LOM card
Resent-Date: Fri, 24 Jan 2003 18:45:41 -0600 (CST)
Date: Fri, 24 Jan 2003 18:30:38 -0600
From: "Martin P Habets [mhabets]" <firstname.lastname@example.org>
I'm trying to install Debian 3.0 using
it fails right after "Booting Linux..." with
UGH: property for SUNW,lomv was 24, need < 1
So it does not like the LOM card setup in OPB.
Traced the error to arch/sparc64/kernel/ebus.c, but I'm not
sure if the code is the problem (lomv missing in
child_regs_nonstandard() perhaps?). Maybe my OPB setup has a problem.
The full device path is
The "reg" property here is indeed 24 bytes long. So is the one
at the lombus level. The one at ebus level is 120 bytes long.
Not sure what path is used to determine the 1 in the error message.
Also, is there a way I can remove the LOM card from OPB?
I would have to put it back later for the Solaris boot.
Any advice would be appreciated.
--- arch/sparc64/kernel/ebus.c 2002-12-24 15:00:45.000000000 +0100
+++ arch/sparc64/kernel/ebus.c.new 2002-12-24 15:00:29.000000000 +0100
@@ -177,7 +177,8 @@
static int __init child_regs_nonstandard(struct linux_ebus_device *dev)
- if (!strcmp(dev->prom_name, "i2c"))
+ if ((!strcmp(dev->prom_name, "i2c")) ||
+ (!strcmp(dev->prom_name, "SUNW,lombus")))