I'm new to the list, but i did a scan of the archives and
didn't see anything on this.

(* funny, they're not listed on the mailing list page, but
  a little reg-ex matching.. )

I've got an Ultra-2 Enterprise, 300Mhz Sparc with 1Gb of
Ram, onboard HME and Sun QFE.

Two questions:

1: I'm able to install (unlike 7.0, which wouldn't boot) and
get the system running, however trying to initialize the
HME or QFE interfaces causes a kernel panic. I'll include
the text of that panic at the bottom of the message.

2: I tried to then upgrade my kernel (by booting back into solaris,
thank goodness for dual-boot) and downloaded 2.2.17, rebooted
back into linux, and tried to compile.

For whatever reason, the Makefiles seem to be configured for
cross-compiling as a default.

Trying to remove the '-m64 -mcpu=ultrasparc' lines from
the AFLAGS and CFLAGS gets me a little further, but
when the compiler passes things over to the assembler, i get
an Architecture mismatch on "movcc"
(requires v9|v9a; requested arch is sparclite)

adding -Wa,-Av9a to the CC line gets me a little further, but I'm having
lots of warnings, and it finally bombs out with a arch mismatch trying
to link the object files. as sparc:v8plus input is not compatible with 
sparc:v9 output..

This doesn't seem right..  Has anybody been able to compile the kernel
under sparc/linux?  am i possibly missing any packages from the
default developer install?

output from dmseg, and ksymoops:
-------------------
PROMLIB: Sun IEEE Boot Prom 3.11.2 1997/12/05 10:25
Linux version 2.2.16-5mdksecure ([EMAIL PROTECTED]) (gcc driver version
2.7.2 snapshot 970621 executing gcc version 2.7.2) #1 SMP Fri Jun 16
15:10:36 CEST 2000
ARCH: SUN4U
Ethernet address: 08:00:20:82:46:7a
Found CPU 0 (node=f00661ac,mid=0)
Found 1 CPU prom device tree node(s).
Console: colour dummy device 80x25
Calibrating delay loop... 591.46 BogoMIPS
Memory: 1034640k available (1456k kernel code, 11344k data, 192k init)
[fffff80000000000,fffff8003ff1c000]
Dentry hash table entries: 131072 (order 8, 2048k)
Buffer cache hash table entries: 524288 (order 9, 4096k)
Page cache hash table entries: 131072 (order 7, 1024k)
VFS: Diskquotas version dquot_6.4.0 initialized
POSIX conformance testing by UNIFIX
Entering UltraSMPenguin Mode...
SMP: Calibrating ecache flush... Using heuristic of 1191945 cycles.
PCI: Probing for controllers.
PCI: No PCI bus detected
IOMMU(SBUS): IMPL[0] VERS[0] SYSIO mapped at fffff9fe00000000
IOMMU: Streaming Buffer IMPL[0] REV[0] ... ENABLED
sbus0: Clock 25.0 MHz
dma0: HME DVMA gate array 
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 524288 bhash 65536)
Initializing RT netlink socket
Starting kswapd v 1.5 
Console: switching to colour frame buffer device 128x54
fb0: cgsix at 0000000010000000 TEC Rev 4 CPU sparc Rev b [TurboGX]
Sparc Zilog8530 serial driver version 1.41.2.6
tty00 at 0xf1100004 (irq = 12,7e8) is a Zilog8530
tty01 at 0xf1100000 (irq = 12,7e8) is a Zilog8530
tty02 at 0xf1000004 (irq = 12,7e8) is a Zilog8530
tty03 at 0xf1000000 (irq = 12,7e8) is a Zilog8530
Sun TYPE 5 keyboard detected without keyclick
pty: 256 Unix98 ptys configured
Sun Mouse-Systems mouse driver version 1.00
RAM disk driver initialized:  16 RAM disks of 4096K size
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: using high-speed VIS checksum routine
esp0: IRQ 3,7e0 SCSI ID 7 Clk 40MHz CCF=8 TOut 167 NCR53C9XF(espfast)
ESP: Total of 1 ESP hosts found, 1 actually in use.
scsi0 : Sparc ESP366-HME
scsi : 1 host.
  Vendor: FUJITSU   Model: MAG3182L SUN18G   Rev: 1111
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
  Vendor: FUJITSU   Model: MAG3182L SUN18G   Rev: 1111
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
  Vendor: TOSHIBA   Model: XM-5401TASUN4XCD  Rev: 1036
  Type:   CD-ROM                             ANSI SCSI revision: 02
scsi : detected 2 SCSI disks total.
esp0: target 0 [period 100ns offset 15 20.00MHz FAST-WIDE SCSI-II]
SCSI device sda: hdwr sector= 512 bytes. Sectors= 35378533 [17274 MB] [17.3
GB]
esp0: target 1 [period 100ns offset 15 20.00MHz FAST-WIDE SCSI-II]
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 35378533 [17274 MB] [17.3
GB]
Partition check:
 sda: sda1 sda2 sda3 sda7
 sdb: sdb1 sdb2 sdb3
md.c: sizeof(mdp_super_t) = 4104
autodetecting RAID arrays
autorun ...
... autorun DONE.
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 122496k swap-space (priority -1)
sunmouse: Successfully adjusted to 1200 baud.
sunhme.c:v1.10 27/Jan/99 David S. Miller ([EMAIL PROTECTED])
eth0: HAPPY MEAL (SBUS) 10/100baseT Ethernet 08:00:20:82:46:7a 
eth1: Quattro HME slot 0 (SBUS) 10/100baseT Ethernet 08:00:20:a1:14:c0 
eth2: Quattro HME slot 1 (SBUS) 10/100baseT Ethernet 08:00:20:a1:14:c1 
eth3: Quattro HME slot 2 (SBUS) 10/100baseT Ethernet 08:00:20:a1:14:c2 
eth4: Quattro HME slot 3 (SBUS) 10/100baseT Ethernet 08:00:20:a1:14:c3 
Unable to handle kernel paging request at virtual address 0000000001048000
tsk->mm->context = 00000000000006a5
tsk->mm->pgd = fffff8002d3d2000
              \|/ ____ \|/
              "@'/ .. \`@"
              /_| \__/ |_\
                 \__U_/
ifconfig(16819): Oops
CPU[0]: local_irq_count[0] global_irq_count[0]
TSTATE: 0000004480009607 TPC: 000000000043d240 TNPC: 000000000043d2c8 Y:
00000000
g0: 0000000000000004 g1: 0000000000000000 g2: 000000007001a000 g3:
0000000000000000
g4: fffff80000000000 g5: 0000000000000000 g6: fffff800325ac000 g7:
0000000000000000
o0: 0000000001048ba0 o1: 0000000001048000 o2: fffff800001eb1c0 o3:
0000000000000080
o4: 0000000070000000 o5: 0000000000000000 sp: fffff800325aedc1 ret_pc:
000000000043d078
l0: fffff8003eba2420 l1: fffff800001eb1c0 l2: fffff800325af6f0 l3:
0000000000000000
l4: 0000000000000000 l5: 0000000000000000 l6: 0000000000000000 l7:
0000000000000000
i0: 0000000000000000 i1: 0000000001048000 i2: 0000000000000000 i3:
0000000000008800
i4: 00000000ffffffbe i5: 0000000000000074 i6: fffff800325aee71 i7:
0000000000408ce0
Caller[0000000000408ce0]
Caller[00000000004a34e4]
Caller[00000000004a4580]
Caller[00000000004d1854]
Caller[0000000000470b54]
Caller[0000000000434928]
Caller[0000000000410114]
Caller[0000000000011bb4]
Instruction DUMP: d059a9d0  d05ca088  10680023 <f0020000> d85ca088  d25a2018
91333022  900a23ff  912a3002 

---
ksymoops 2.3.3 on sparc64 2.2.16-5mdksecure.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.2.16-5mdksecure/ (default)
     -m /boot/System.map-2.2.16-5mdksecure (specified)

Unable to handle kernel paging request at virtual address 0000000001048000
tsk->mm->context = 00000000000006a5
tsk->mm->pgd = fffff8002d3d2000
              \|/ ____ \|/
              "@'/ .. \`@"
              /_| \__/ |_\
                 \__U_/
ifconfig(16819): Oops
CPU[0]: local_irq_count[0] global_irq_count[0]
TSTATE: 0000004480009607 TPC: 000000000043d240 TNPC: 000000000043d2c8 Y:
00000000
Using defaults from ksymoops -t elf32-sparc -a sparc
g0: 0000000000000004 g1: 0000000000000000 g2: 000000007001a000 g3:
0000000000000000
g4: fffff80000000000 g5: 0000000000000000 g6: fffff800325ac000 g7:
0000000000000000
o0: 0000000001048ba0 o1: 0000000001048000 o2: fffff800001eb1c0 o3:
0000000000000080
o4: 0000000070000000 o5: 0000000000000000 sp: fffff800325aedc1 ret_pc:
000000000043d078
l0: fffff8003eba2420 l1: fffff800001eb1c0 l2: fffff800325af6f0 l3:
0000000000000000
l4: 0000000000000000 l5: 0000000000000000 l6: 0000000000000000 l7:
0000000000000000
i0: 0000000000000000 i1: 0000000001048000 i2: 0000000000000000 i3:
0000000000008800
i4: 00000000ffffffbe i5: 0000000000000074 i6: fffff800325aee71 i7:
0000000000408ce0
Caller[0000000000408ce0]
Caller[00000000004a34e4]
Caller[00000000004a4580]
Caller[00000000004d1854]
Caller[0000000000470b54]
Caller[0000000000434928]
Caller[0000000000410114]
Caller[0000000000011bb4]
Instruction DUMP: d059a9d0  d05ca088  10680023 <f0020000> d85ca088  d25a2018
91333022  900a23ff  912a3002 

>>PC;  0043d240 <do_sparc64_fault+240/580>   <=====
>>O7;  0043d078 <do_sparc64_fault+78/580>
>>I7;  00408ce0 <sparc64_realfault_common+18/28>
Trace; 00408ce0 <sparc64_realfault_common+18/28>
Trace; 004a34e4 <dev_open+24/c0>
Trace; 004a4580 <dev_change_flags+60/160>
Trace; 004d1854 <devinet_ioctl+2f4/640>
Trace; 00470b54 <sys_ioctl+254/2c0>
Trace; 00434928 <sys32_ioctl+1c88/2860>
Trace; 00410114 <linux_sparc_syscall+34/40>
Trace; 00011bb4 Before first symbol
Code;  0043d234 <do_sparc64_fault+234/580>
0000000000000000 <_PC>:
Code;  0043d234 <do_sparc64_fault+234/580>
   0:   d0 59 a9 d0       unknown
Code;  0043d238 <do_sparc64_fault+238/580>
   4:   d0 5c a0 88       unknown
Code;  0043d23c <do_sparc64_fault+23c/580>
   8:   10 68 00 23       unknown
Code;  0043d240 <do_sparc64_fault+240/580>   <=====
   c:   f0 02 00 00       ld  [ %o0 ], %i0   <=====
Code;  0043d244 <do_sparc64_fault+244/580>
  10:   d8 5c a0 88       unknown
Code;  0043d248 <do_sparc64_fault+248/580>
  14:   d2 5a 20 18       unknown
Code;  0043d24c <do_sparc64_fault+24c/580>
  18:   91 33 30 22       unknown
Code;  0043d250 <do_sparc64_fault+250/580>
  1c:   90 0a 23 ff       and  %o0, 0x3ff, %o0
Code;  0043d254 <do_sparc64_fault+254/580>
  20:   91 2a 30 02       unknown


Reply via email to