[Aurora-sparc-user] Ver 2.99 - sunhme not found?

Charles Tryon baggins at rochester.rr.com
Wed Jun 27 20:24:31 EDT 2007


On Mon, 2007-06-25 at 10:56 -0500, Tom "spot" Callaway wrote:
> On Thu, 2007-06-21 at 22:07 -0400, Charles Tryon wrote:
> > 
> > Here's an odd one....
> > 
> > I just completed an install of the latest 2.99 release on a Sun
> > UltraSPARC 2 Creator.  The install went pretty well, other than the
> > fact that the VGA video adapter I found (forget the name) and have
> > used to replace the toasted Creator card seemed to be a bit unstable
> > and would crash at random points in the install.  Installing in Text
> > mode fixed that problem.... ;-)
> > 
> > I used the NET boot and install from a NFS image on another server in
> > my network, which reduces the dependency on CD images.  Obviously, the
> > sun Happy Meal Ethernet adapter (sunhme) card was working in order to
> > facilitate the install.  Life is grand.....
> > 
> > ...until I reboot at the end of the install.  Then, for some reason,
> > when the system reboots, it complains that, "The sunhme does not
> > appear to be present, delaying initialization."
> > 
> > Any ideas why this adapter would work just fine during install, but
> > then not initialize when the newly installed kernel tries to boot up?
> 
> OK, this is a weird one, I might have screwed something up in the SMP vs
> UP kernels. Check to see if the sunhme driver is in the installed
> kernel:
> 
> rpm -ql kernel-smp |grep sunhme
> 
> Ultra 2s are usually SMP, so the SMP kernel be should present. If its
> not an SMP system, run the query and grep against kernel instead. If
> there is a driver, you should see the sunhme.ko file with path. If not,
> it will return blank.

  I did that, and found that the sunhme kernel module IS installed with
the SMP kernel.

  I did some more fiddling around, and a couple of installs later...
Well to make a very long long story short, the problem is NOT in the
kernel module or the SMP, but in a confusion between the two network
interfaces on the machine.

  The box has a sunhme interface on the MB, and another SBUS combination
Lance 10BaseT and SCSI card.  It correctly defines the sunhme as eth0,
but for some reason, it must get some low level id reversed when it
boots up again.  I discovered that, if I remove the Lance eth1
definition, and then recreate the eth1 again as a sunhme (leaving the
original eth0 one in place), and then activate eth1, IT WORKS FINE.  I
haven't tried rebooting the box yet to make sure everything comes up
cleanly, but it seems to be chugging along just fine for the time being.

  Go figure.....

> I'll check this on my end, but its very likely that you'll get to it
> before I will (just got back from a week of offline vacation, 10,000+
> emails to go through).

  Heh....  Been there.  Done that, though I don't know if I've ever
broken the 10,000 mark!

> Also, let me know what kind of video card you've got in that Ultra 2.
> Since Ultra 2 is SBUS only, running lssbus should fill in the blank.

[root at moria ~]# lssbus
0: Network Controller: Sun Lance Ethernet
1: SCSI Controller: Sun Enhanced SCSI Processor (ESP)
2: Video Controller: Sun Color3 (cgthree)
3: Network Controller: Sun Happy Meal Ethernet
4: SCSI Controller: Sun Swift (ESP)
5: Multimedia audio controller: CS4231 APC DMA (SBUS)

  Hummm... sure enough, the Lance comes up first....

  I don't know where I dug this up, but it appeared several years ago in
my pile of spare video cards, and I've been waiting for a chance to use
it.  It's an SBUS VGA adapter.  It must not have much memory on it,
because it looks like it's running 800x600(?), 256 colors, or something
like that. The install video probe reports "Sun/color3 - cgthree" (or
"suncg3" in the xorg.conf file).  It works pretty well, though the
install crashed a lot with the X driver suddenly shutting down.  I
learned to do the install very slowly and carefully, with a minimum
number of actions, and it got through.  Since booting up, I haven't had
a problem with crashes.

  Oh, most of the "system-config-something" tools seg-fault.



_______________________________________________
> Aurora-sparc-user mailing list
> Aurora-sparc-user at lists.auroralinux.org
> http://lists.auroralinux.org/mailman/listinfo/aurora-sparc-user
> Aurora FAQ: http://www.ecs.soton.ac.uk/~mas01r/aurorafaq.html
-- 
  Your Servant,                     <><
  B. Baggins              ctryon at ciber.com | baggins at rochester.rr.com
_________________________________________________________________________
  "It's the job that's never started that takes longest to finish."
                                      -- Samwise Gamgee



More information about the Aurora-sparc-user mailing list