Port-mac68k archive

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

Re: IDE problems on Quadra 630 type machines, revisited

Hi, Philippe,

I talked on my blog about my atempts (and success) to install NetBSD on my 630:


to summarize, here is the solution I came to:

makeoptions COPTS="-Os" # Optimise for space. Implies -O2

seems to be the missing line in the config file. Below, the whole config file. I excluded SCSI drivers, as I don't use SCSCI, but I think you can safely add some more drivers.

Neat. My Quadra 630 has been off since I moved in March, but I've finally had a chance to get it set up again. There were two problems I saw - one was the IDE problem we both saw and the other was that the system wouldn't work if I allowed NetBSD to use the full 196 megs (up to 160 megs was fine).

-current fixes both problems, and -Os fixes both as well, but I couldn't test a regular (recent) netbsd-5 kernel to see if it fixed either because I kept getting "Failed to set kernel symbol _boothowto." errors in the Booter.

I wonder what in the toolchain is so broken that not using -Os creates bad code... Maybe I'll have to try to make a regular kernel using gcc 4.6 or something like that.


Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    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 5.1_STABLE (POOKIE-$Revision: 5.200 $) #0: Sat Nov 12 21:29:21 UTC 2011
Apple Macintosh Quadra 630  (68040)
cpu: delay factor 1593
fpu: mc68040
total memory = 196 MB
avail memory = 187 MB
timecounter: Timecounters tick every 16.666 msec
mrg: 'Quadra630 ROMs' ROM glue, tracing off, debug off, silent traps
mainbus0 (root)
obio0 at mainbus0
esp0 at obio0 addr 0 (quick): address 0x321000: NCR53C96, 16MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
wdc0 at obio0 (Quadra/Performa series IDE interface)
atabus0 at wdc0 channel 0
adb0 at obio0
asc0 at obio0: Apple Sound Chip
intvid0 at obio0 @ f9001000: Valkyrie video subsystem
intvid0: 832 x 624, monochrome
macfb0 at intvid0
wsdisplay0 at macfb0 (kbdmux ignored): console (std, vt100 emulation)
sn0 at obio0: integrated SONIC Ethernet adapter
sn0: Ethernet address 00:a0:40:74:77:e2
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
sn1 at nubus0 slot e: Macintosh LC Ethernet Adapter
sn1: Ethernet address 00:01:98:34:ca:f7
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: keyboard II
wskbd0 at akbd0 (mux ignored): console keyboard, using wsdisplay0
ams0 at adb0 addr 3: EMP mouse <ALP3> 3-button, 480 dpi
wsmouse0 at ams0 (mux ignored)
sd0 at scsibus0 target 0 lun 0: <ATA, MirrorSmart465G, 3.40> disk fixed
sd0: 465 GB, 476940 cyl, 16 head, 128 sec, 512 bytes/sect x 976773167 sectors
sd0: sync (248.00ns offset 8), 8-bit (4.032MB/s) transfers
wd0 at atabus0 drive 0: <ST3160812A>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs

Home | Main Index | Thread Index | Old Index