NetBSD-Bugs archive

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

Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA



The following reply was made to PR port-sparc64/46461; it has been noted by 
GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: Havard Eidnes <he%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, macallan%netbsd.org@localhost
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Fri, 18 May 2012 12:51:27 -0400

 On May 18, 10:17am, he%NetBSD.org@localhost (Havard Eidnes) wrote:
 -- Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
 
 | >  boot -c =
 | 
 | >  and unconfigure pm2fb....
 | >
 | >  If that get's you further, that's it.
 | 
 | My kernel is GENERIC + bumped NBMCLUSTERS, so contains
 | USERCONFIG.  However, it does not want to drop into it on boot,
 | even after I upgrade the boot loader (both primary and
 | secondary):
 | 
 | Old bootloader:
 | 
 | {0} ok boot netbsd -c
 | Resetting ... =
 | 
 | 
 | Rebooting with command: boot netbsd -c                                =
 | 
 | Boot device: /pci@1f,4000/scsi@3/disk@0,0:a  File and args: netbsd -c
 | NetBSD IEEE 1275 Bootblock
 | >> NetBSD/sparc64 OpenFirmware Boot, Revision 1.9
 | >> (he%quattro.urc.uninett.no@localhost, Thu Jun 29 16:29:07 CEST 2006)
 | =3D0xc87828
 | Loading netbsd: 8502920+554984+345616 [608808+396079]=3D0xdd1ad0
 | prom_get_msgbuf: Cannot recover msgbuf on E250
 | prom_get_msgbuf: allocated new buf at 00000000
 | prom_get_msgbuf: claiming new buf at 00000000
 | Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 200=
 | 5,
 |     2006, 2007, 2008, 2009, 2010, 2011, 2012
 |     The NetBSD Foundation, Inc.  All rights reserved.
 | Copyright (c) 1982, 1986, 1989, 1991, 1993
 |     The Regents of the University of California.  All rights reserved.
 | 
 | NetBSD 6.0_BETA (TORBIDINSU) #0: Thu May 17 17:55:31 CEST 2012
 |         
he%torbidinsu.urc.uninett.no@localhost:/usr/obj/sys/arch/sparc64/compile/=
 | TORBIDINS
 | U
 | ...
 | 
 | New bootloader (from 5.99.38, I think):
 | 
 | {0} ok boot netbsd -c
 | Boot device: /pci@1f,4000/scsi@3/disk@0,0:a  File and args: netbsd -c =
 | 
 | NetBSD IEEE 1275 Multi-FS Bootblock
 | Version $NetBSD: bootblk.fth,v 1.13 2010/06/24 00:54:12 eeh Exp $
 | >> NetBSD/sparc64 OpenFirmware Boot, Revision 1.16
 | =3D0xc87828
 | Loading netbsd: 8502920+554984+345616 [608808+396079]=3D0xdd1c68
 | prom_get_msgbuf: Cannot recover msgbuf on E250
 | prom_get_msgbuf: allocated new buf at 00000000
 | prom_get_msgbuf: claiming new buf at 00000000
 | Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 200=
 | 5,
 |     2006, 2007, 2008, 2009, 2010, 2011, 2012
 |     The NetBSD Foundation, Inc.  All rights reserved.
 | Copyright (c) 1982, 1986, 1989, 1991, 1993
 |     The Regents of the University of California.  All rights reserved.
 | 
 | NetBSD 6.0_BETA (TORBIDINSU) #0: Thu May 17 17:55:31 CEST 2012
 |         
he%torbidinsu.urc.uninett.no@localhost:/usr/obj/sys/arch/sparc64/compile/=
 | TORBIDINSU
 | ...
 | 
 | I guess I'll have to compile a kernel with "no pm2fb".
 | 
 | ...
 | 
 | But ... that didn't do it either:
 | 
 | psycho4 at mainbus0 addr 0xfff36000
 | psycho4: SUNW,psycho: impl 0, version 4: ign 180 bus range 0 to 0; PCI =
 | bus 0
 | pci4 at psycho4
 | genfb0 at pci4 dev 4 function 0: 3D Labs GLINT Permedia 2V (rev. 0x01)
 | panic: psycho4: PCI bus A error AFAR 1cd00000000 AFSR 880000ff00000000
 | Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x4:        nop
 | db{0}> =
 | 
 | 
 | 
 | I guess "no genfb" is also needed...
 | 
 | ...and that made it boot up 6.0_BETA.
 
 This has been broken for-fvcking-ever. I told macallan a while ago that
 the whole console and framebuffer stuff does not work. This is when I found
 it:
        NetBSD 5.99.52 (GENERIC) #11: Wed Jun 1 20:32:30 EDT 2011
 
 And here is the diff for my kernel!
 
 @@ -884,7 +884,7 @@ ffb*                at upa?
  gfb*           at mainbus0
  
  # On board vga on U5/U10 etc.
 -machfb*                at pci?
 +#machfb*               at pci?
  
  # Sun XVR-100
  radeonfb*      at pci?
 @@ -896,7 +896,7 @@ pm2fb*              at pci?
  wcfb*          at pci?
  
  # generic PCI framebuffers
 -genfb*         at pci?
 +#genfb*                at pci?
  
  # make sure the console display is always wsdisplay0
  wsdisplay0     at wsemuldisplaydev? console 1
 
 This is really crappy. Please file a separate bug for the boot -c.
 Unfortunately I am using my box as a router and I cannot reboot it,
 but we clearly need to debug this.
 
 christos
 


Home | Main Index | Thread Index | Old Index