Port-mac68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: MI SONIC Ethernet driver for mac68k



On Tue, Apr 15, 2008 at 10:21:02PM +0900, Izumi Tsutsui wrote:
> stix%stix.id.au@localhost wrote:
> 
> > > I've just had a shot at upgrading my Q605 to HEAD, and discovered
> > > that the "Ethernet LC Twisted Pair" card I have (a SONIC-T,
> 
> Hmm, is the PDS one attached at obio or nubus?
> (sorry I'm not familiar with Mac)

It's at nubus.

> > > DP83934AVQB based) no longer receives packets. It does transmit
> > > fine. Admittedly, while dhclient fails, I haven't tried manually
> > > configuring the interface - I'll try that tonight.
> > > 
> > > It works fine under a 4.0 release kernel, btw. Any suggestions on
> > > what to try before I dive in?
> > 
> > As a follow up: it works fine in promiscuous mode. If I get a chance
> > I'll see what's happening with the CAM table...
> 
> Could you post dmesgs of both 4.0 (old MD sonic) and -current (MI one)?
> 
> I guess the MAC address is not read from the board correctly.
> (possibly some botches in bus_space(9))

Looks like it reads the MAC ok. The only odd thing I see is the change
in address for the esp0 SCSI controller - but it seems to work fine.
Here's a diff between 4.0 and 4.99.59:

--- kitt-dmesg-4.0      2008-04-16 23:56:53.000000000 +1000
+++ kitt-dmesg-4.99.59  2008-04-17 00:02:23.000000000 +1000
@@ -1,53 +1,53 @@
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-    2006, 2007
+    2006, 2007, 2008
     The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.
 
-NetBSD 4.0_STABLE (KITT) #0: Wed Apr 16 23:29:57 EST 2008
-       
stix%zion.stix.org.au@localhost:/export/netbsd/netbsd-4/obj.mac68k/export/netbsd/netbsd-4/src/sys/arch/mac68k/compile/KITT
+NetBSD 4.99.59 (KITT) #1: Sun Apr 13 21:08:04 EST 2008
+       
stix%zion.stix.org.au@localhost:/export/netbsd/current/obj.mac68k/export/netbsd/current/src/sys/arch/mac68k/compile/KITT
 Apple Macintosh Quadra 605  (68040)
 cpu: delay factor 792
+fpu: mc68040
 total memory = 20480 KB
-avail memory = 16616 KB
+avail memory = 16580 KB
 timecounter: Timecounters tick every 16.666 msec
 mrg: 'Quadra/Centris 605 ROMs' ROM glue, tracing off, debug off, silent traps
 mainbus0 (root)
 obio0 at mainbus0
-esp0 at obio0 addr 0 (quick): address 0x258000: NCR53C96, 16MHz, SCSI ID 7
+esp0 at obio0 addr 0 (quick): address 0x262000: NCR53C96, 16MHz, SCSI ID 7
 scsibus0 at esp0: 8 targets, 8 luns per target
 adb0 at obio0
 asc0 at obio0: Apple Sound Chip
 intvid0 at obio0 @ f9000080: DAFB video subsystem, monitor sense 1
 intvid0: 832 x 624, monochrome
 macfb0 at intvid0
 wsdisplay0 at macfb0 (kbdmux ignored): console (std, vt100 emulation)
 iwm0 at obio0: Apple GCR floppy disk controller
 iwm: Chip revision not supported (-77)
 zsc0 at obio0 chip type 0 
 zsc0 channel 0: d_speed   9600 DCD clk 0 CTS clk 0
 zstty0 at zsc0 channel 0
 zsc0 channel 1: d_speed   9600 DCD clk 0 CTS clk 0
 zstty1 at zsc0 channel 1
 nubus0 at mainbus0
 sn0 at nubus0 slot e: Apple Ethernet LC Twisted-Pair Card
 sn0: Ethernet address 08:00:07:2e:2f:74
-fpu0 at mainbus0 (mc68040)
 timecounter: Timecounter "clockinterrupt" frequency 60 Hz quality 0
 timecounter: Timecounter "VIA1 T2" frequency 783360 Hz quality 100
+scsibus0: waiting 2 seconds for devices to settle...
 adb0 (direct, Cuda): 2 targets
 aed0 at adb0 addr 0: ADB Event device
 akbd0 at adb0 addr 2: extended keyboard
 wskbd0 at akbd0 (mux ignored): console keyboard, using wsdisplay0
 ams0 at adb0 addr 3: 1-button, 100 dpi mouse
 wsmouse0 at ams0 (mux ignored)
-scsibus0: waiting 2 seconds for devices to settle...
 sd0 at scsibus0 target 0 lun 0: <QUANTUM, FIREBALL1080S, 1Q09> disk fixed
 sd0: 1042 MB, 3835 cyl, 4 head, 139 sec, 512 bytes/sect x 2134305 sectors
 sd0: sync (248.00ns offset 8), 8-bit (4.032MB/s) transfers
 sd1 at scsibus0 target 5 lun 0: <SyQuest, SQ5200C, 3CE4> disk removable
 sd1: 190 MB, 2260 cyl, 2 head, 86 sec, 512 bytes/sect x 390696 sectors
 sd1: sync (248.00ns offset 15), 8-bit (4.032MB/s) transfers
 boot device: sd0
 root on sd0a dumps on sd0b
 root file system type: ffs

Cheers,
-- 
Paul Ripke


Home | Main Index | Thread Index | Old Index