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

Re: [Fwd: install error on Netra 20 with LOM card]



Does anybody have an .iso or full tftpboot.img with this patch in it?

I've tried building it myself against the 2.4.19 kernel, but that
did not work. I must be missing a number of other patches, and it'll
probably be a hassle for me to figure all of them out.

Thanks,
	Martin

On Sun, Jan 26, 2003 at 08:23:21PM +0100, Johan Verrept wrote:
> Hi,
> 
>    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,
> 
>    J.
> 
> 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)
> >Resent-From: debian-sparc@lists.debian.org
> >Date: Fri, 24 Jan 2003 18:30:38 -0600
> >From: "Martin P Habets [mhabets]" <mhabets@lucent.com>
> >To: debian-sparc@lists.debian.org
> >
> >I'm trying to install Debian 3.0 using
> >http://auric.debian.org/~bcollins/disks-sparc/current/netinst.iso
> >
> >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
> >/pci@8,700000/ebus@5/SUNW,lombus@1,3062f8/lomv,@feece000,0
> >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.
> >Any clues?
> >
> >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.
> >
> >Thanks,
> 
> 

> --- 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")))
>  		return 1;
>  	return 0;
>  }



Reply to: