Re: Test 2.2.10 kernel for Mac IIci
On Wed, 26 Jan 2000, Michael Schmitz wrote:
> > > Thanks for testing; could you check if loading the mac89x0.o module helps?
> > > (depmod -a; modprobe mac89x0 should do it).
> >
> > # depmod -a
> > /lib/modules/2.2.10/block/ndb.o: unresolved symbol(s)
>
> Hm, that might be this __lshrdi stuff but I thought I got it patched.
>
> > # modprobe mac89x0
> > mac89x0.c: No card found
>
> Bad. Could you send me the Nubus probe output to check the card is
> actually supported?
Yes, the card works. It works in 2.2.10 and worked back in the 2.1.x
series. Dmesg output is attached below.
> > /lib/modules/2.2.10/net/mac89x0.o: init_module: Device or resource busy
>
> Even worse.
>
> Has anybody _ever_ gotten ethernet driver modules to work on Mac? I mean,
> the cards are usually probed (and registered with the net layer) way
> before the usual time (from the Nubus bus probe, to be precise). Maybe
> what's missing in the module code is another Nubus scan ??
I've never used _any_ modules on the Mac.
> I'll build another one with ethernet compiled in for now.
I got your next message about the new kernel being posted. I'll grab it
shortly and test it.
- Greg
--- dmesg output ---
Linux version 2.2.10 (dhd@eradicator.dhis.org) (gcc version egcs-2.91.66 Debian GNU/Linux (egcs-1.1.2 release)) #1 Fri Oct 1 04:07:50 EDT 1999
Detected Macintosh model: 11
Penguin bootinfo data:
Video: addr 0x0 row 0x280 depth 8 dimensions 640 x 480
Videological 0xf0308000 phys. 0xfbb08000, SCC at 0x50f04000
Boottime: 0x388ef319 GMTBias: 0x0
Machine ID: 11 CPUid: 0x1 memory size: 0x20
VIA1 at 50f00000 is a 6522 or clone
VIA2 at 50f26000 is an RBV
Apple Macintosh IIci
Console: colour dummy device 80x25
Calibrating delay loop... 6.08 BogoMIPS
Memory: 30592k/32256k available (984k kernel code, 616k data, 64k init)
kmem_create: Forcing size word alignment - filp
POSIX conformance testing by UNIFIX
NuBus: Scanning NuBus slots.
Slot D:
Board resource:
type: [cat 0x1 type 0x0 hw 0x0 sw 0x0]
name: MacCon Ethernet
board id: 0x8
vendor info:
ID: Asante Technologies, Inc.
revision: Alpha-1.0
part: MacCon Ethernet
Function 0x80:
type: [cat 0x4 type 0x1 hw 0x104 sw 0x100]
name: Network Ethernet_Asante
memory offset: 0x000d0000
MAC address: 00:00:94:03:b7:a2
Function 0x81:
type: [cat 0x2 type 0x1 hw 0x0 sw 0x0]
name: Test Asante Ethernet ROM
unknown resource 20, data 0x000012
unknown resource 21, data 0x004321
unknown resource 22, data 0x00000c
unknown resource 23, data 0x00000c
adb: MacII style keyboard/mouse driver.
adb: init done.
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
kmem_create: Forcing size word alignment - skbuff_head_cache
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
Initializing RT netlink socket
Starting kswapd v 1.5
macfb: framebuffer at 0x00000000, mapped to 0xd0000000, size 300k
macfb: mode is 640x480x8, linelength=640
macfb: scrolling: redraw
fbcon_startup: No VBL detected, using timer based cursor.
Console: switching to colour frame buffer device 80x30
fb0: RBV built-in frame buffer device
Configuring keyboard:
leds on ...
configuring coding mode ...
keyboard init done
M68K Serial driver version 1.01
Mac68K Z8530 serial driver version 1.01
ttyS0 at 0x50f04002: 8350 ESCC w/o DMA
ttyS1 at 0x50f04000: 8350 ESCC w/o DMA
pty: 256 Unix98 ptys configured
Macintosh ADB mouse driver installed.
RAM disk driver initialized: 16 RAM disks of 4096K size
Macintosh SCSI: resetting the SCSI bus... done
mac_insert_irq: Warning: dev_id of MacSCSI-5380 is zero
scsi0: generic 5380 at port 50F10000 irq 19 options CAN_QUEUE=16 CMD_PER_LUN=2 release=1
scsi0: generic options AUTOSENSE generic release=7
scsi0 :
scsi : 1 host.
Vendor: CDC Model: 94221-5 Rev: 5978
Type: Direct-Access ANSI SCSI revision: 01 CCS
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
Vendor: COMPAQPC Model: DORS-32160 Rev: WA8B
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
Vendor: QUANTUM Model: CTS80S Rev: 4.05
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sdc at scsi0, channel 0, id 5, lun 0
scsi : detected 3 SCSI disks total.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 349925 [170 MB] [0.2 GB]
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 4110000 [2006 MB] [2.0 GB]
SCSI device sdc: hdwr sector= 512 bytes. Sectors= 166200 [81 MB] [0.1 GB]
Checking for internal Macintosh ethernet (SONIC).. none.
daynaport.c: v0.02 1999-05-17 Alan Cox (Alan.Cox@linux.org) and others
eth0: asante: testing board: 16K memory - OK
eth0: MacCon Ethernet in slot D (type asante)
MAC 00:00:94:03:b7:a2 IRQ 60, shared memory at 0xfd0d0000-0xfd0d3fff.
Partition check:
sda: MAC sda1 sda2 sda3
sdb: MAC sdb1 sdb2 sdb3 sdb4 sdb5
sdc: MAC sdc1 sdc2 sdc3 sdc4
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 32764k swap-space (priority -1)
-- end dmesg output ---
Reply to: