Here is a diff of dmesg's between snapshot when I compile my own
kernel for -current (yes, my clock is off by a year):
1c1
< [ using 364116 bytes of bsd ELF symbol table ]
---
[ using 364200 bytes of bsd ELF symbol table ]
8,9c8,9
< OpenBSD 4.1 (GENERIC) #1209: Sat Mar 10 19:12:02 MST 2007
< [EMAIL PROTECTED]:/usr/src/sys/arch/macppc/compile/GENERIC
---
OpenBSD 4.1-current (GENERIC) #2: Sun Sep 17 09:16:52 EDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/macppc/compile/GENERIC
67,77c67
< ohci0 at pci1 dev 24 function 0 "Apple USB" rev 0x00: irq 27, version 1.0
< usb0 at ohci0: USB revision 1.0
< uhub0 at usb0
< uhub0: Apple OHCI root hub, rev 1.00/1.00, addr 1
< uhub0: 2 ports with 2 removable, self powered
< ohci1 at pci1 dev 25 function 0 "Apple USB" rev 0x00: irq 28, version 1.0
< usb1 at ohci1: USB revision 1.0
< uhub1 at usb1
< uhub1: Apple OHCI root hub, rev 1.00/1.00, addr 1
< uhub1: 2 ports with 2 removable, self powered
< cardslot0 at cbb0 slot 0 flags 0
---
ohci0 at pci1 dev 24 function 0 "Apple USB" rev 0x00: irq 27ohci1 at pci1 dev 25 function
0 "Apple USB" rev 0x00: irq 28cardslot0 at cbb0 slot 0 flags 0
79a70,75
, version 1.0
usb0 at ohci0: USB revision 1.0
usb0: root hub problem, error=13
, version 1.0
usb1 at ohci1: USB revision 1.0
usb1: root hub problem, error=13
86,105c82
< uhub2 at uhub1 port 1
< uhub2: Mitsumi Electric Hub in Apple Extended USB Keyboard, rev
1.10/4.20, addr 2
< uhub2: 3 ports with 2 removable, bus powered
< uhidev0 at uhub2 port 1 configuration 1 interface 0
< uhidev0: Mitsumi Electric Apple Optical USB Mouse, rev 1.10/1.10,
addr 3, iclass 3/1
< ums0 at uhidev0: 4 buttons and Z dir.
< wsmouse0 at ums0 mux 0
< uftdi0 at uhub2 port 2
< uftdi0: FTDI USB <-> Serial, rev 1.10/4.00, addr 4
< ucom0 at uftdi0 portno 1
< uhidev1 at uhub2 port 3 configuration 1 interface 0
< uhidev1: Mitsumi Electric Apple Extended USB Keyboard, rev
1.10/4.20, addr 5, iclass 3/1
< ukbd0 at uhidev1: 8 modifier keys, 6 key codes
< wskbd0 at ukbd0: console keyboard, using wsdisplay0
< uhidev2 at uhub2 port 3 configuration 1 interface 1
< uhidev2: Mitsumi Electric Apple Extended USB Keyboard, rev
1.10/4.20, addr 5, iclass 3/0
< uhidev2: 3 report ids
< uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0
< uhid1 at uhidev2 reportid 3: input=3, output=0, feature=0
< bootpath: '/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL
PROTECTED]/bsd'
---
bootpath: '/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL
PROTECTED]/bsd.new'
109d85
Here is what I've done on of a fresh install from CD, then an upgrade
to snapshot:
cd /usr
cvs -d [EMAIL PROTECTED]:/cvs co src
cd /usr/src/sys/arch/macppc/config
config GENERIC
cd ../compile/GENERIC
make depend && make bsd
cp bsd /bsd.new
from openfirmware: boot hd:,ofwboot /bsd.new
What am I doing something wrong? Why does my usb bork out when I
compile my own kernel? I've also removed the cbb0 card with no luck.
This is a G4 Power Mac "Digital Audio". Full dmesg:
[ using 364116 bytes of bsd ELF symbol table ]
console out [ATY,Rage128Pd]console in [keyboard] USB found
: memaddr b4000000 size 4000000, : consaddr b6008000, : ioaddr
b0020000, size 20000: memtag 8000, iotag 8000: width 640 linebytes 768
height 480 depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2007 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 4.1 (GENERIC) #1209: Sat Mar 10 19:12:02 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 268435456 (262144K)
avail mem = 234254336 (228764K)
using 1254 buffers containing 13418496 bytes (13104K) of memory
mainbus0 (root): model PowerMac3,4
cpu0 at mainbus0: 7400 (Revision 0x209): 466 MHz: 1MB backside cache
memc0 at mainbus0: uni-n
ki2c0 at memc0 offset 0xf8001000
iic0 at ki2c0
mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 11 function 0 "Apple Uni-N2 AGP" rev 0x00
vgafb0 at pci0 dev 16 function 0 "ATI Rage Fury" rev 0x00, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x0
pci1 at mpcpcibr1 bus 0
pchb1 at pci1 dev 11 function 0 "Apple Uni-N2 Host" rev 0x00
re0 at pci1 dev 18 function 0 "Realtek 8169" rev 0x10: RTL8169S
(0x0400), irq 52, address 00:09:5b:bd:c0:a7
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0
cbb0 at pci1 dev 21 function 0 "Ricoh 5C475 CardBus" rev 0x81: irq 58
macobio0 at pci1 dev 23 function 0 "Apple Keylargo" rev 0x03
openpic0 at macobio0 offset 0x40000: version 0x4614
macgpio0 at macobio0 offset 0x50
macgpio1 at macgpio0 irq 47
"programmer-switch" at macgpio0 not configured
"gpio5" at macgpio0 not configured
"gpio6" at macgpio0 not configured
"gpio11" at macgpio0 not configured
"extint-gpio15" at macgpio0 not configured
"extint-gpio16" at macgpio0 not configured
"escc-legacy" at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 22,50
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
tumbler0 at macobio0 offset 0x10000: irq 30,1,2
"timer" at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 0 targets
apm0 at adb0: battery flags 0x9, 0% charged
ki2c1 at macobio0 offset 0x18000
iic1 at ki2c1
wdc0 at macobio0 offset 0x1f000 irq 19: DMA
wd0 at wdc0 channel 0 drive 0: <IBM-DTLA-305030>
wd0: 16-sector PIO, LBA, 29314MB, 60036480 sectors
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wdc1 at macobio0 offset 0x20000 irq 20: DMA
atapiscsi0 at wdc1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVDRRW GSA-4166B, 1.00> SCSI0
5/cdrom removable
atapiscsi1 at wdc1 channel 0 drive 1
scsibus1 at atapiscsi1: 2 targets
sd0 at scsibus1 targ 0 lun 0: <IOMEGA, ZIP 250, 41.S> SCSI0 0/direct removable
sd0: drive offline
cd0(wdc1:0:0): using BIOS timings, DMA mode 1
sd0(wdc1:0:1): using BIOS timings, DMA mode 1
wdc2 at macobio0 offset 0x21000 irq 21: DMA
wi0 at macobio0 offset 0x30000 irq 57:
wi0: Firmware 8.70 variant 1, address 00:30:65:04:e8:5f
audio0 at tumbler0
ohci0 at pci1 dev 24 function 0 "Apple USB" rev 0x00: irq 27, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci1 dev 25 function 0 "Apple USB" rev 0x00: irq 28, version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
mpcpcibr2 at mainbus0 pci: uni-north, Revision 0x16
pci2 at mpcpcibr2 bus 0
pchb2 at pci2 dev 11 function 0 "Apple Uni-N2 Host" rev 0x00
"AT&T/Lucent FW322 1394" rev 0x00 at pci2 dev 14 function 0 not configured
gem0 at pci2 dev 15 function 0 "Apple Uni-N GMAC" rev 0x01: irq 41,
address 00:03:93:13:80:32
brgphy0 at gem0 phy 0: BCM5401 10/100/1000baseT PHY, rev. 3
uhub2 at uhub1 port 1
uhub2: Mitsumi Electric Hub in Apple Extended USB Keyboard, rev
1.10/4.20, addr 2
uhub2: 3 ports with 2 removable, bus powered
uhidev0 at uhub2 port 1 configuration 1 interface 0
uhidev0: Mitsumi Electric Apple Optical USB Mouse, rev 1.10/1.10, addr
3, iclass 3/1
ums0 at uhidev0: 4 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhidev1 at uhub2 port 3 configuration 1 interface 0
uhidev1: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/4.20,
addr 4, iclass 3/1
ukbd0 at uhidev1: 8 modifier keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev2 at uhub2 port 3 configuration 1 interface 1
uhidev2: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/4.20,
addr 4, iclass 3/0
uhidev2: 3 report ids
uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev2 reportid 3: input=3, output=0, feature=0
bootpath: '/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL
PROTECTED]/bsd'
boot device: wd0.
root on wd0a
rootdev=0x0 rrootdev=0xb00 rawdev=0xb02