Re: kernel problems--won't boot new kernel

1999-05-20 Thread Wakko Warner
THAT DID IT!  I'm happy now, I have SMP on the sparc!

> 2.2.8 introduced a big problem, which is fixed in 2.2.9.  If you want,
> you can get 2.2.7 working with the attached patch.
> 
> 
> Index: arch/sparc/mm/iommu.c
> --- arch/sparc/mm/iommu.c   1998/04/15 14:58:37 1.9
> +++ arch/sparc/mm/iommu.c   1999/05/07 05:32:04
> @@ -118,6 +119,7 @@
> if (ia[i].addr <= ia[l].addr) {
> ia[i].next = l;
> ia[m].next = i;
> +   break;
> }
> if (l == -1)
> ia[m].next = i;


Re: kernel problems--won't boot new kernel

1999-05-20 Thread Wakko Warner
> > Ok, here's what I have..  I have a sparc 10 with 2 supersparc 50's.
> >
> > I am compiling 2.2.7 with no problems.  When I attempt to boot it, silo (or
> > whatever) says 'booting linux'.  Stops here.  I can't even get back to the
> > prom w/o hitting reset on the mothercard.
> 
> Pre 2.2.8 has a known problem on sun4m. You need to use 2.2.8 or 2.2.9
> (I've been running 2.2.9 for a few days with no problems)

Yes, but I'm using 2.2.7.  So, anything before 2.2.8 has problems?  I've
been reading the kernel mailing lists and there have been talks that >=2.2.8
have big problems and I really don't want to touch those right now...  The
one I am running off the cd is 2.2.1  So if I compile it, I won't have
problems?  (I've got 1gb to waist..  There's <200mb on the drive right now)


kernel problems--won't boot new kernel

1999-05-20 Thread Wakko Warner
Ok, here's what I have..  I have a sparc 10 with 2 supersparc 50's.

I am compiling 2.2.7 with no problems.  When I attempt to boot it, silo (or
whatever) says 'booting linux'.  Stops here.  I can't even get back to the
prom w/o hitting reset on the mothercard.

The console of this machine is ttya (a ti terminal).  No framebuffer has
been installed in the machine and it does not have a keyboard attached.

I installed debian-sparc 2.1 (slink) off of cd.  I noticed that the cd has
2.2.1 kernel (hidden inside of silo).  I've been using it.  The machine has
been stable, but I haven't have it up for a day yet (I can't sleep with this
thing running.  Too many fans).  The kernel says '[EMAIL PROTECTED]'.  I would
like to see a .config (I have attached mine).  I'm at a loss.

I'm a newbie to linux on a sparc.  Have used linux on x86 for 3 years.

I'm not sure if this is where I'm getting into troubles or not, but here is
how I am compiling the kernel:
make dep
make clean  # only if it's a recompile
make vmlinux

I couldn't figure out how to make the kernel file, so I looked in the
arch/sparc/Makefile to see what targets were in there.  I assumed that
vmlinux was what I needed to do.  (I also noticed a tftpboot.img, don't tell
me I have to use it.  Will try it as soon as I end this message.  I don't
want someone telling me this is a stupid idea because if it is, then I'll
already know it before hand.  If it's what I needed, I've already tried it
)

BTW, I'm using the sparc as I type.

NOTE: any _HELP_ will be appreciated.  Anything else is going to
/dev/bitbucket (/dev/null is full at the moment )
#
# Automatically generated by make menuconfig: don't edit
#

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y

#
# General setup
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
# CONFIG_AP1000 is not set
CONFIG_SMP=y
# CONFIG_SUN4 is not set
# CONFIG_PCI is not set

#
# Console drivers
#
CONFIG_PROM_CONSOLE=y
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FB_SBUS=y
CONFIG_FB_CGSIX=y
CONFIG_FB_BWTWO=y
CONFIG_FB_CGTHREE=y
CONFIG_FB_TCX=y
CONFIG_FB_CGFOURTEEN=y
CONFIG_FB_LEO=y
# CONFIG_FB_VIRTUAL is not set
CONFIG_FBCON_ADVANCED=y
CONFIG_FBCON_MFB=y
# CONFIG_FBCON_CFB2 is not set
# CONFIG_FBCON_CFB4 is not set
CONFIG_FBCON_CFB8=y
# CONFIG_FBCON_CFB16 is not set
CONFIG_FBCON_CFB24=y
CONFIG_FBCON_CFB32=y
# CONFIG_FBCON_AFB is not set
# CONFIG_FBCON_ILBM is not set
# CONFIG_FBCON_IPLAN2P2 is not set
# CONFIG_FBCON_IPLAN2P4 is not set
# CONFIG_FBCON_IPLAN2P8 is not set
# CONFIG_FBCON_MAC is not set
# CONFIG_FBCON_VGA is not set
# CONFIG_FBCON_FONTWIDTH8_ONLY is not set
CONFIG_FONT_SUN8x16=y
# CONFIG_FONT_SUN12x22 is not set
# CONFIG_FBCON_FONTS is not set
CONFIG_SBUS=y
CONFIG_SBUSCHAR=y
CONFIG_SUN_MOUSE=y
CONFIG_SERIAL=y
CONFIG_SUN_SERIAL=y
CONFIG_SERIAL_CONSOLE=y
CONFIG_SUN_KEYBOARD=y
CONFIG_SUN_CONSOLE=y
CONFIG_SUN_AUXIO=y
CONFIG_SUN_IO=y
CONFIG_SUN_OPENPROMIO=m
CONFIG_SUN_MOSTEK_RTC=y
# CONFIG_SUN_BPP is not set
# CONFIG_SUN_VIDEOPIX is not set
CONFIG_SPARCAUDIO=m
# CONFIG_SPARCAUDIO_AMD7930 is not set
# CONFIG_SPARCAUDIO_CS4231 is not set
CONFIG_SPARCAUDIO_DBRI=m
# CONFIG_SPARCAUDIO_DUMMY is not set
CONFIG_SUN_OPENPROMFS=m
CONFIG_NET=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
# CONFIG_BINFMT_JAVA is not set

#
# Floppy, IDE, and other block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_MD is not set
CONFIG_BLK_DEV_RAM=m
CONFIG_BLK_DEV_LOOP=m
# CONFIG_BLK_DEV_NBD is not set

#
# Networking options
#
CONFIG_PACKET=m
# CONFIG_NETLINK is not set
CONFIG_FIREWALL=y
# CONFIG_FILTER is not set
CONFIG_UNIX=m
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
CONFIG_IP_FIREWALL=y
CONFIG_IP_ALWAYS_DEFRAG=y
# CONFIG_IP_TRANSPARENT_PROXY is not set
CONFIG_IP_MASQUERADE=y
CONFIG_IP_MASQUERADE_ICMP=y
# CONFIG_IP_MASQUERADE_MOD is not set
# CONFIG_IP_ROUTER is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
CONFIG_IP_ALIAS=y
CONFIG_SYN_COOKIES=y
CONFIG_INET_RARP=m
CONFIG_SKB_LARGE=y
# CONFIG_IPV6 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_BRIDGE is not set
# CONFIG_LLC is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set
# CONFIG_CPU_IS_SLOW is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# SCSI support
#
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=y
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=y
CONFIG_SCSI_MULTI_LUN=y
# CONFIG_SCSI_CONSTANTS is not set

#
# SCSI low-level drivers
#
CONFIG_SCSI_SUNESP=y
# CONFIG_SCSI_QLOGICPTI is not set

#
# Fibre Channel support
#
# CONFIG

Re: Booting a sparc10

1999-05-10 Thread Wakko Warner
> > > I have a sparc10 that I installed debian 2.1 sparc on.  I can't get it
> > > to boot off the hard drive.  It always complains about no disk label. 
> > 
> > Sounds like you've make an fdisk disklabel on it, the sparc prom needs
> > to see a sun disklabel (known as a bsd disklabel in fdisk).
> 
> I agree, but isn't it "Sun disk label"? At least that is what I
> have on my SS20:
> 
> huilu:~# fdisk -l
> 
> Disk /dev/sda (Sun disk label): 14 heads, 72 sectors, 2036 cylinders
> Units = cylinders of 1008 * 512 bytes
> 
>Device Flag   BeginStart  End   Blocks   Id  System
> /dev/sda100 1400   705600   83  Linux native
> /dev/sda2  u  1401 1401 144120160   83  Linux native
> /dev/sda300 2036  10261445  Whole disk
> /dev/sda4  u  1442 1442 2036   299376   82  Linux swap

This is almost exactly what I needed, just one thing, how do I do a
disklabel with fdisk?


Re: Booting a sparc10

1999-05-10 Thread Wakko Warner
> > I have a sparc10 that I installed debian 2.1 sparc on.  I can't get it
> > to boot off the hard drive.  It always complains about no disk label. 
> 
> Sounds like you've make an fdisk disklabel on it, the sparc prom needs
> to see a sun disklabel (known as a bsd disklabel in fdisk).

I used the fdisk that the installer ran (looks like plain ole fdisk).  What
do I do to do this?  I have no problem erasing the entire drive and starting
over again.


Booting a sparc10

1999-05-10 Thread Wakko Warner
I have a sparc10 that I installed debian 2.1 sparc on.  I can't get it to
boot off the hard drive.  It always complains about no disk label.

The kernel on the cdrom is 2.2.1
The bootloader is silo.

The disk is a 1.3gb with 2 partitions.  First partition is almost the entire
disk with type 83.  the 2nd partition is about 20mb type 82.

ROM is v2.12
32mb ram