Subject: B&W G3 has CMD Technology PCI0646 (Re: can not find any hard disk)
To: None <port-macppc@netbsd.org>
From: Makoto Fujiwara <makoto@ki.nu>
List: port-macppc
Date: 07/28/2001 22:50:32
> Are you booting boot.fs or netbsd.ram.gz? Boot.fs probably doesn't
> have the IDE controller support compiled in.

Martin> i boot NETBSD.MACPPC direkt from cd (1.5.1 MacPPC Iso Image) with
Martin> boot cd:,ofwboot.xcf Netbsd.macppc


Martin> In dmesg i can see something like this (i forget to wrote it down...) : "ATA
Martin> Mass Storage not configured" but nothing like "wd0" or "wd1" such as the
Martin> dmesg on my NetBSD/i386 Box

I have duplicated this problem. With G3 Blue and White, 1999 Model,
  I have booted with 1.5.1 macppccd.iso, I needed to say
0 > boot cd:,ofwboot.xcf netbsd.macppc

and it does not find any harddrive.
---------------
INSTALL kernel:
-------------------------------------------------------------------------------
vendor 0x1095 product 0x0646 (IDE mass storage, interface 0x8f, revision 0x07) 	
	at pci1 dev 1 function 0 not configured
---------------
GENERIC kernel:
-------------------------------------------------------------------------------
pciide0 at pci1 dev 1 function 0: CMD Technology PCI0646 (rev. 0x07)

Full dmesg below,
-------------------------------------------------------------------------------
NetBSD 1.5.1 (INSTALL) #9: Mon Jul  2 08:59:37 PDT 2001
    matt@duel.local:/u1/kobj/INSTALL
CPU: 750 (Revision 202)
total memory = 128 MB
avail memory = 111 MB
using 1664 buffers containing 6656 KB of memory
mainbus0 (root)
cpu0 at mainbus0: 1MB backside cache
grackle0 at mainbus0
pci0 at grackle0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1057 product 0x0002 (rev. 0x40)
ppb0 at pci0 dev 13 function 0: vendor 0x1011 product 0x0026 (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vendor 0x104c product 0x8000 (Firewire serial bus, revision 0x02) 
	at pci1 dev 0 function 0 not configured
vendor 0x1095 product 0x0646 (IDE mass storage, interface 0x8f, revision 0x07) 	
	at pci1 dev 1 function 0 not configured
obio0 at pci1 dev 5 function 0: addr 0x80800000
mesh0 at obio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7
scsibus0 at mesh0: 8 targets, 8 luns per target
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
davbus at obio0 offset 0x14000 not configured
fdc at obio0 offset 0x15000 not configured
adb0 at obio0 offset 0x16000 irq 18: 0 targets
wdc0 at obio0 offset 0x20000 irq 13: DMA transfer
atapibus0 at wdc0 channel 0
cd0 at atapibus0 drive 0: <MATSHITA CR-589, , GA0W> type 5 cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
bm0 at obio0 offset 0x11000 irq 42,33: address 00:50:e4:46:87:63
lxtphy0 at bm0 phy 0: LXT970 10/100 media interface, rev. 1
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
nvram0 at obio0 offset 0x60000
ohci0 at pci1 dev 6 function 0: vendor 0x1045 product 0xc861 (rev. 0x10)
ohci0: interrupting at irq 28
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x1045 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ofb0 at pci0 dev 16 function 0: vendor 0x1002 product 0x5245
ofb0: 1024 x 768, 8bpp
wsdisplay0 at ofb0: console (std, vt100 emulation)
scsibus0: waiting 2 seconds for devices to settle...
md0: internal 2048K image area
uhub1 at uhub0 port 1
uhub1: vendor 0x0409 product 0x55ab, class 9/0, rev 1.00/1.00, addr 2
uhub1: 4 ports with 4 removable, bus powered
ukbd0 at uhub1 port 1 configuration 1 interface 0
ukbd0: Alps Electric M2452, rev 1.00/1.01, addr 3, iclass 3/1
wskbd1 at ukbd0: console keyboard, using wsdisplay0
Mitsumi Apple USB Mouse, class 0/0, rev 1.00/5.01, addr 4, uhub1 port 2 not configured
boot device: cd0
root on md0a dumps on md0b
WARNING: clock gained 20 days -- CHECK AND RESET THE DATE!
root file system type: ffs
-------------------------------------------------------------------------------

I have booted from network with netbsd.GENERIC_MD.gz and dmesg is here:
-------------------------------------------------------------------------------
NetBSD 1.5W (GENERIC_MD) #2: Mon Jul 23 22:15:00 JST 2001
    root@iBook366:/export/src/sys/arch/macppc/compile/GENERIC_MD
total memory = 128 MB
avail memory = 109 MB
using 1664 buffers containing 6656 KB of memory
mainbus0 (root)
cpu0 at mainbus0: 750 (Revision 202), ID 0 (primary)
cpu0: 1MB backside cache
grackle0 at mainbus0
pci0 at grackle0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Motorola MPC106 "Grackle" Host Bridge (rev. 0x40)
ppb0 at pci0 dev 13 function 0: Digital Equipment DECchip 21154 PCI-PCI Bridge (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
Texas Instruments TSB12LV21 IEEE 1394 Host Controller 
     (Firewire serial bus, revision 0x02) at pci1 dev 0 function 0 not configured
pciide0 at pci1 dev 1 function 0: CMD Technology PCI0646 (rev. 0x07)
pciide0: bus-master DMA support present
pciide0: primary channel configured to native-PCI mode
pciide0: using irq 26 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALL CR6.4A>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 6149 MB, 13328 cyl, 15 head, 63 sec, 512 bytes/sect x 12594960 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
pciide0: secondary channel configured to native-PCI mode
pciide0: secondary channel ignored (disabled)
obio0 at pci1 dev 5 function 0: addr 0x80800000
mesh0 at obio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7
scsibus0 at mesh0: 8 targets, 8 luns per target
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
awacs0 at obio0 offset 0x14000: irq 17,8,9
audio0 at awacs0: full duplex
fdc at obio0 offset 0x15000 not configured
adb0 at obio0 offset 0x16000 irq 18: 0 targets
aed0 at adb0 addr 0: ADB Event device
wdc0 at obio0 offset 0x20000 irq 13: DMA transfer
atapibus0 at wdc0 channel 0: 2 targets
cd0 at atapibus0 drive 0: <MATSHITA CR-589, , GA0W> type 5 cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
cd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
bm0 at obio0 offset 0x11000 irq 42,33: address 00:50:e4:46:87:63
lxtphy0 at bm0 phy 0: LXT970 10/100 media interface, rev. 1
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
nvram0 at obio0 offset 0x60000
ohci0 at pci1 dev 6 function 0: Opti RM861HA (rev. 0x10)
ohci0: interrupting at irq 28
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Opti OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ofb0 at pci0 dev 16 function 0: ATI Technologies Rage 128 GL PCI
ofb0: 1024 x 768, 8bpp
wsdisplay0 at ofb0: console (std, vt100 emulation)
scsibus0: waiting 2 seconds for devices to settle...
md0: internal 2048 KB image area
uhub1 at uhub0 port 1
uhub1: NEC hub, class 9/0, rev 1.00/1.00, addr 2
uhub1: 4 ports with 4 removable, bus powered
ukbd0 at uhub1 port 1 configuration 1 interface 0
ukbd0: Alps Electric M2452, rev 1.00/1.01, addr 3, iclass 3/1
wskbd1 at ukbd0: console keyboard, using wsdisplay0
ums0 at uhub1 port 2 configuration 1 interface 0
ums0: Mitsumi Apple USB Mouse, rev 1.00/5.01, addr 4, iclass 3/1
ums0: 1 button
wsmouse1 at ums0
boot device: bm0
root on md0a dumps on md0b
WARNING: clock gained 5 days -- CHECK AND RESET THE DATE!
root file system type: ffs

---
(Makoto Fujiwara)
http://www.ki.nu/software/NetBSD/iBook2/