Subject: Re: Scanning with NetBSD on SE/30
To: None <port-mac68k@netbsd.org>
From: Shawn D'Alimonte <sdalimon@home.com>
List: port-mac68k
Date: 03/13/2001 20:06:44
On Tuesday 13 March 2001 02:20, Hauke Fath wrote:
> At 3:07 Uhr +0100 13.3.2001, SUNAGAWA Keiki wrote:
> >NetBSD has a support of some SCSI scanners, but it would
> >conflict with other models.  If it is the case, you may want
> >to build your own kernel without sc (scanner) driver.
>
> ISTR that "sc" is TWAIN based. For SANE you are better off with
> removing "sc" from the kernel config and using "uk".

'sc' is built in, but the kernel does not see it as a scanner, so it is 
uk0.  I have attached the dmesg output below:  That dump was using the 
SBC SCSI driver.  With the normal one the scanner does not even show up.

With this setting the system starts the scan and then locks up hard.  
The scanner stops, but leaves the light on. The mac locks up so hard 
only the reset button will help (NMI does not get the debugger).

The only other unusual thing about this machine is the Cabletron 
network card.  I had to change the ae driver to make it work (Just the 
addresses of the RAM and registers).  

[ preserving 187797 bytes of netbsd a.out symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000
    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 1.5 (SHAWND) #0: Sat Feb 24 15:32:01 EST 2001
    root@:/usr/src/sys/arch/mac68k/compile/SHAWND
Apple Macintosh SE/30  (68030)
cpu: delay factor 166
total memory = 8192 KB
avail memory = 4652 KB
using 128 buffers containing 512 KB of memory
mrg: 'Mac II class ROMs' ROM glue, tracing off, debug off, silent traps
mrg: I/O map kludge for ROMs that use hardware addresses directly.
mainbus0 (root)
obio0 at mainbus0
adb0 at obio0
asc0 at obio0: Apple Sound Chip
iwm0 at obio0: Apple GCR floppy disk controller
fd0 at iwm0 drive 0: (drive empty)
sbc0 at obio0: options=1<PDMA>
scsibus0 at sbc0: 8 targets, 8 luns per target
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 shielding from 
LocalTalk
zstty1 at zsc0 channel 1
nubus0 at mainbus0
ae0 at nubus0 slot a: DNI Ethernet Card, 32KB memory
ae0: Ethernet address 00:00:1d:05:ec:36
macvid0 at nubus0 slot e: Macintosh SE/30 Internal Video
macvid0: 512 x 342, monochrome
macfb0 at macvid0
wsdisplay0 at macfb0: console (std, vt100 emulation)
fpu0 at mainbus0 (mc68882)
ae0: length does not match next packet pointer
ae0: len 0000 nlen ff00 start 12 first 00 curr 5e next 00 stop 80
ae0: NIC memory corrupt - invalid packet length 65280
adb0 (direct, II series): 2 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: extended keyboard
wskbd0 at akbd0: console keyboard, using wsdisplay0
ams0 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse0 at ams0
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <QUANTUM, CTS160S, 4.07> SCSI2 0/direct 
fixed
sd0: 163 MB, 1536 cyl, 4 head, 54 sec, 512 bytes/sect x 333936 sectors
sd1 at scsibus0 target 1 lun 0: <QUANTUM, TRB730S, 043C> SCSI2 0/direct 
fixed
sd1: 699 MB, 3653 cyl, 4 head, 97 sec, 512 bytes/sect x 1431760 sectors
cd0 at scsibus0 target 4 lun 0: <MATSHITA, CD-ROM CR-8005, 2.0h> SCSI2 
5/cdrom removable
uk0 at scsibus0 target 5 lun 0: <HP, C1790A, 3226> SCSI2 3/processor 
fixed
uk0: unknown device
ncr5380_done: sense asked for sense
ncr5380_done: sense asked for sense
ncr5380_done: sense asked for sense
ncr5380_done: sense asked for sense
ncr5380_done: sense asked for sense
ncr5380_done: sense asked for sense
ncr5380_done: sense asked for sense
boot device: sd1
root on sd1a dumps on sd1b
PRAM: 0x3aade7ab, macos_boottime: 0x3aade797.
root file system type: ffs

-- 
Shawn D'Alimonte   sdalimon@home.com