Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
For Ultra2: How to find hardware config for kernel compile?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 886
Location: New Orleans

PostPosted: Fri Mar 05, 2004 6:19 pm    Post subject: For Ultra2: How to find hardware config for kernel compile? Reply with quote

Hello all!!

I'm going to be putting Genoo on my Ultra2 3DCreator this weekend. In prep, I've been reading over the new install docs for the 2004.00 Live CD.

I have a couple of questions. Short of cracking open the case and running down part numbers. Is there an easy way to find out what exactly I have on this box I bought on eBay?

At this time...it does have solaris 5.7 on it..and I can log it. Are there some commands or screens I can find that can tell me such things for the Linux kernel config as:

What framebuffer support I need?
What type low level scsi support I need?
What specific NIC card I have?

And so on for my Linux install....just trying to set up a sheet in my record book for what hardware I have and list special settings before I start the install. I'm not familiar with Sun boxes...and not sure what commands or screens I can go to find out what the box actually has on it.

Any suggestions or links greatly appreciated!

Thanks,

cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Fri Mar 05, 2004 9:40 pm    Post subject: Reply with quote

With solaris, prtconf and sysdef will give you a lot of what you need. See
their man pages.

But some things you can be sure of:

Your frame buffer is ffb, making the kernel, you will want
Code:

CONFIG_FB_SBUS=y
CONFIG_FB_CREATOR=y

....

CONFIG_DRM_NEW=y
CONFIG_DRM_FFB=y


But the first time you boot linux, do dmesg, and it will tell you all this:
E.g., here's a little bit from mine:

Code:

fb0: Elite 3D at 000001fc00000000 type 3 DAC 0
pty: 256 Unix98 ptys configured
rtc_init: no PC rtc found
RAMDISK driver initialized: 16 RAM disks of 128000K size 1024 blocksize
loop: loaded (max 8 devices)
sunhme.c:v2.01 26/Mar/2002 David S. Miller (davem@redhat.com)
eth0: HAPPY MEAL (SBUS) 10/100baseT Ethernet 08:00:20:b4:ed:66
[drm] Initialized ffb 0.0.1 20000517 on minor 0
SCSI subsystem driver Revision: 1.00
esp0: IRQ 4,7e0 SCSI ID 7 Clk 40MHz CCYC=25000 CCF=8 TOut 167 NCR53C9XF(espfast)
ESP: Total of 1 ESP hosts found, 1 actually in use.
scsi0 : Sparc ESP366-HME
  Vendor: SEAGATE   Model: ST318404LSUN18G   Rev: 4207
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: SEAGATE   Model: ST318203LC        Rev: 0002
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: iomega    Model: jaz 2GB           Rev: E.17
  Type:   Direct-Access                      ANSI SCSI revision: 02



Your ethernet card is probably hme,
Code:

CONFIG_HAPPYMEAL=y

if you are making a kernel.

For scsi support, this works for me (on U2)
Code:
#
# SCSI support
#
CONFIG_SCSI=y

#
# SCSI support type (disk, tape, CDrom)
#
CONFIG_BLK_DEV_SD=y
CONFIG_SD_EXTRA_DEVS=40
CONFIG_CHR_DEV_ST=m
CONFIG_CHR_DEV_OSST=m
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=m


Where you see Elite 3D above, yours should show Creator 3D.

Hope this helps;
Regards,
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Fri Mar 05, 2004 9:43 pm    Post subject: Reply with quote

That's garbled: The second code block should be just in front of
"Where you see," because it is from dmesg.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum