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

PowerBook G4 & XF86



原岡でございます。

PowerBook G4に入れたNetBSD/macppcでXがつかえなくてはまってます。

起動時に
OsVendorInit
X: open kbd/mouse: No such file or directory
って起こられます。

それでXFree86.0.logは以下の様なのが出てます。
Fatal server error:
netbsdPciInit: can't open /dev/pci0
とか言ってるからkernelが惡いのでしょうか?
椿井さん版の20021116のやつ使ってます。

ではよろしくお願いいたします。

--こっからXFree86.0.log
XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
         If the server is older than 6-12 months, or if your card is
         newer than the above date, look for a newer version before
         reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: NetBSD/macppc 1.6K [ELF] The NetBSD Foundation,  
Inc.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
          (++) from command line, (!!) notice, (II) informational,
          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Dec  3 15:02:23 2002
(==) Using config file: "/etc/XF86Config"
(==) ServerLayout "Main Layout"
(**) |-->Screen "Screen MGA1" (0)
(**) |   |-->Monitor "Generic Monitor"
(**) |   |-->Device "MGA Millennium I"
(**) |-->Screen "Screen MGA2" (1)
(**) |   |-->Monitor "Generic Monitor"
(**) |   |-->Device "MGA G200 AGP"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Mouse2"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "500 5"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "macadb"
(**) XKB: model: "macadb"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to  
"/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/ 
X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/ 
:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/ 
,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/ 
X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(**) Option "BlankTime" "10"
(**) Option "StandbyTime" "20"
(**) Option "SuspendTime" "30"
(**) Option "OffTime" "60"
(--) Using wscons driver
(II) Module ABI versions:
         XFree86 ANSI C Emulation: 0.1
         XFree86 Video Driver: 0.5
         XFree86 XInput driver : 0.3
         XFree86 Server Extension : 0.1
         XFree86 Font Renderer : 0.3
(II) Loader running on netbsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
         compiled for 4.2.1, module version = 1.0.0
         Module class: XFree86 Font Renderer
         ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
         compiled for 4.2.1, module version = 0.1.0
         ABI class: XFree86 Video Driver, version 0.5

Fatal server error:
netbsdPciInit: can't open /dev/pci0


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.


---こっからはconfigの定義ファイル

#

include         "arch/macppc/conf/std.macppc"

maxusers        32

#makeoptions    CC="gcc3"

# Standard system options
#options        UCONSOLE        # users can use TIOCCONS (for xconsole)
#options        INSECURE        # disable kernel security levels

options         RTC_OFFSET=-540 # hardware clock is this many mins.  
west of JST
options         NTP             # NTP phase/frequency locked loop
options         KTRACE          # system call tracing via ktrace(1)
#options        SYSTRACE        # system call vetting via systrace(1)

options         SYSVMSG         # System V message queues
options         SYSVSEM         # System V semaphores
#options        SEMMNI=10       # number of semaphore identifiers
#options        SEMMNS=60       # number of semaphores in system
#options        SEMUME=10       # max number of undo entries per process
#options        SEMMNU=30       # number of undo structures in system
options         SYSVSHM         # System V shared memory
#options        SHMMAXPGS=1024  # 1024 pages is the default

#options        LKM             # loadable kernel modules

options         ALTIVEC         # AltiVec support
#options        BACKLIGHT       # Backlight control
#options        OFB_ENABLE_CACHE # enable write-thru caching on ofb
#options        ZS_CONSOLE_ABORT # break invokes DDB on zs console
#options        NAPMODE         # use NAP power-saving mode instead of  
DOZE

# Diagnostic/debugging support options
options         DIAGNOSTIC      # cheap kernel consistency checks
#options        DEBUG           # expensive debugging checks/support
options         DDB             # in-kernel debugger
options         DDB_HISTORY_SIZE=512    # enable history editing in DDB

#makeoptions    DEBUG="-g"      # compile full symbol table

# Compatibility options
options         COMPAT_09       # NetBSD 0.9,
options         COMPAT_10  # NetBSD 1.0,
options         COMPAT_11       # NetBSD 1.1,
options         COMPAT_12       # NetBSD 1.2,
options         COMPAT_13       # NetBSD 1.3,
options         COMPAT_14       # NetBSD 1.4,
options         COMPAT_43       # and 4.3BSD
#options        COMPAT_386BSD_MBRPART # recognize old partition ID
#options        COMPAT_LINUX    # Linux binary compatibility

options         COMPAT_MACH     # binary compatibility with Mach  
binaries
options         COMPAT_DARWIN   # binary compatibility with Darwin  
binaries
options         EXEC_MACHO      # exec MACH-O binaries
#options        TCP_COMPAT_42   # 4.2BSD TCP/IP bug compat. Not  
recommended.

# File systems
file-system     FFS             # UFS
#file-system    EXT2FS          # second extended file system (linux)
file-system     LFS             # log-structured file system
file-system     MFS             # memory file system
file-system     NFS             # Network File System client
file-system     CD9660          # ISO 9660 + Rock Ridge file system
file-system     MSDOSFS         # MS-DOS file system
file-system     FDESC           # /dev/fd
file-system     KERNFS          # /kern
file-system     NULLFS          # loopback file system
file-system     OVERLAY         # overlay file system
file-system     PORTAL          # portal filesystem (still experimental)
file-system     PROCFS          # /proc
file-system     UMAPFS          # NULLFS + uid and gid remapping
file-system     UNION           # union file system

# File system options
options         QUOTA           # UFS quotas
#options        FFS_EI          # FFS Endian Independant support
options         SOFTDEP         # FFS soft updates support.
options         NFSSERVER       # Network File System server
#options        EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append  
and
                                 # immutable) behave as system flags.
options         APPLE_UFS       # Apple UFS suppport in FFS

options         NFS_BOOT_DHCP   # Support DHCP NFS root

# Networking options
#options        GATEWAY         # packet forwarding
options         INET            # IP + ICMP + TCP + UDP
options         INET6           # IPV6
options         IPSEC           # IP security
#options        IPSEC_ESP       # IP security (encryption part; define  
w/IPSEC)
options         IPSEC_DEBUG     # debug for IP security
#options        MROUTING        # IP multicast routing
#options        NS              # XNS
#options        NSIP            # XNS tunneling over IP
#options        ISO,TPIP        # OSI
#options        EON             # OSI tunneling over IP
#options        CCITT,LLC,HDLC  # X.25
options         NETATALK        # AppleTalk networking protocols
options         PPP_BSDCOMP     # BSD-Compress compression support for  
PPP
options         PPP_DEFLATE     # Deflate compression support for PPP
options         PPP_FILTER      # Active filter support for PPP  
(requires bpf)
options         PFIL_HOOKS      # pfil(9) packet filter hooks
#options       IPFILTER_LOG     # ipmon(8) log support
#options        TCP_DEBUG       # Record last TCP_NDEBUG packets with  
SO_DEBUG

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options         PCIVERBOSE      # verbose PCI device autoconfig messages
options         MIIVERBOSE      # verbose PHY autoconfig messages
#options        PCI_CONFIG_DUMP # verbosely dump PCI config space
options         SCSIVERBOSE     # human readable SCSI error messages
options         USBVERBOSE      # verbose USB device autoconfig messages

# wscons options
#options        WSEMUL_SUN              # sun terminal emulation
options         WSEMUL_VT100            # VT100 / VT220 emulation
#options        FONT_SONY8x16
#options        FONT_OF6x11

# Kernel root file system and dump configuration.
config          netbsd  root on ? type ?

#
# Device configuration
#

mainbus* at root

cpu*    at mainbus?
nvram*  at mainbus?
bandit* at mainbus?
grackle* at mainbus?
uninorth* at mainbus?

pci*    at bandit? bus ?
pci*    at grackle? bus ?
pci*    at uninorth? bus ?
pci*    at ppb? bus ?

pchb*   at pci? dev ? function ?        # PCI-Host bridges
ppb*    at pci? dev ? function ?        # PCI-PCI bridges

#fpa*   at pci? dev ? function ?        # DEC PCI FDDI (DEFPA)  
Controller
#ep*    at pci? dev ? function ?        # 3Com 3c59x
#epic*  at pci? dev ? function ?        # SMC EPIC/100 Ethernet
#ex*    at pci? dev ? function ?        # 3Com 90x[BC]
#fxp*   at pci? dev ? function ?        # Intel EtherExpress PRO  
10+/100B
#lmc*   at pci? dev ? function ?        # Lan Media Corp SSI/HSSI/DS3
#ne*    at pci? dev ? function ?        # NE2000-compatible Ethernet
#rtk*   at pci? dev ? function ?        # Realtek 8129/8139
#sip*   at pci? dev ? function ?        # SiS 900/7016 Ethernet
#tlp*   at pci? dev ? function ?        # DECchip 21x4x (and clones)  
Ethernet
#adv*   at pci? dev ? function ?        # AdvanSys 1200[A,B], 9xx[U,UA]  
SCSI
#adw*   at pci? dev ? function ?        # AdvanSys 9x0UW[D],  
3940U[2,3]W SCSI
#ahc*   at pci? dev ? function ?        # Adaptec 294x, aic78x0 SCSI
#bha*   at pci? dev ? function ?        # BusLogic 9xx SCSI
#iha*   at pci? dev ? function ?        # Initio INIC-940/950 SCSI
#isp*   at pci? dev ? function ?        # Qlogic ISP 10x0/2xx0  
SCSI/Fibre Chan
#siop*  at pci? dev ? function ?        # NCR 53c8xx SCSI
#pcscp* at pci? dev ? function ?        # AMD Am53c974 PCscsi-PCI SCSI
ofb*    at pci? dev ? function ?        # Open Firmware Framebuffer
pciide* at pci? dev ? function ?
cbb*    at pci? dev ? function ?        # PCI-CardBus bridge
gm*     at pci? dev ? function ?        # gmac ethernet
obio*   at pci? dev ? function ?

#bmtphy*        at mii? phy ?                   # Broadcom  
BCM5201/BCM5202 PHYs
#brgphy*        at mii? phy ?                   # Broadcom BCM5400 PHYs
#dmphy* at mii? phy ?                   # Davicom DM9101 PHYs
#exphy* at mii? phy ?                   # 3Com internal PHYs
#icsphy*        at mii? phy ?                   # Integrated Circuit  
Systems ICS189x
#inphy* at mii? phy ?                   # Intel 82555 PHYs
#iophy* at mii? phy ?                   # Intel 82553 PHYs
#lxtphy*        at mii? phy ?                   # Level One LXT-970 PHYs
#nsphy* at mii? phy ?                   # NS83840 PHYs
#nsphyter* at mii? phy ?                        # NS83843 PHYs
#qsphy* at mii? phy ?                   # Quality Semiconductor QS6612  
PHYs
#sqphy* at mii? phy ?                   # Seeq 80220/80221/80223 PHYs
#tqphy* at mii? phy ?                   # TDK Semiconductor PHYs
ukphy*  at mii? phy ?                   # generic unknown PHYs

# PCI serial interfaces
cy*     at pci? dev ? function ?        # Cyclades Cyclom-Y serial  
boards
#cz*    at pci? dev ? function ?        # Cyclades-Z multi-port serial  
boards

#bm*    at obio?                        # bmac ethernet
#mc*    at obio?                        # MACE ethernet
#esp*   at obio? flags 0x00ff           # 53c9x SCSI
#mesh*  at obio? flags 0xffff           # MESH SCSI
nvram*  at obio?                        # nvram
adb*    at obio?                        # Apple Desktop Bus
aed*    at adb?                         # ADB Event Device
akbd*   at adb?                         # ADB keyboard
ams*    at adb?                         # ADB mouse
abtn*   at adb?
zsc*    at obio?
zstty*  at zsc? channel ?
mediabay* at obio?
wdc*    at mediabay? flags 0
awacs*  at obio?                        # AWACS audio
wi*     at obio?                        # AirMac
battery* at obio?                       # Battery status device
ki2c*   at obio?                        # Keywest I2C
tumbler* at obio?                       # Tumbler audio
snapper* at obio?                       # Snapper audio

cardslot* at cbb?
cardbus* at cardslot?
pcmcia* at cardslot?

com*    at pcmcia? function ?           # Modems and serial cards
wdc*    at pcmcia? function ?           # PCMCIA IDE controllers
ep*     at pcmcia? function ?           # 3Com 3c589 and 3c562 Ethernet
mbe*    at pcmcia? function ?           # MB8696x based Ethernet
ne*     at pcmcia? function ?           # NE2000-compatible Ethernet
an*     at pcmcia? function ?           # Aironet PC4500/PC4800 (802.11)
awi*    at pcmcia? function ?           # BayStack 650/660 (802.11FH/DS)
wi*     at pcmcia? function ?           # Lucent WaveLan IEEE (802.11)
ex*     at cardbus? dev ? function ?    # 3Com 3C575TX
tlp*    at cardbus? dev ? function ?    # DECchip 21143
rtk*    at cardbus? dev ? function ?    # Realtek 8129/8139

wsdisplay* at ofb? console ?
wskbd*  at akbd? console ?
wsmouse* at ams?

scsibus* at scsi?
sd*     at scsibus? target ? lun ?      # SCSI disks
st*     at scsibus? target ? lun ?      # SCSI tape drives
cd*     at scsibus? target ? lun ?      # SCSI CD-ROM drives
ch*     at scsibus? target ? lun ?      # SCSI autochangers
ss*     at scsibus? target ? lun ?      # SCSI scanners
uk*     at scsibus? target ? lun ?      # SCSI unknown

wdc*    at obio? flags 0x1
wd*     at pciide? channel ? drive ?
wd*     at wdc? channel ? drive ? flags 0x0000

atapibus* at atapi? channel ?
cd*     at atapibus? drive ? flags 0x0000       # ATAPI CD-ROM drives
sd*     at atapibus? drive ? flags 0x0000       # ATAPI disk drives
uk*     at atapibus? drive ? flags 0x0000       # ATAPI unknown

# PCI USB controllers
ohci*   at pci? dev ? function ?                        # Open Host  
Controller

usb*    at ohci?                                        # USB bus  
support
uhub*   at usb?                                         # USB Hubs
uhub*   at uhub? port ? configuration ? interface ?

uhidev* at uhub? port ? configuration ? interface ?     # USB HID
ukbd*   at uhidev? reportid ?                           # USB keyboards
ums*    at uhidev? reportid ?                           # USB mice
uhid*   at uhidev? reportid ?                           # USB Generic  
HID

wsmouse* at ums?
wskbd*  at ukbd? console ?

ulpt*   at uhub? port ? configuration ? interface ?     # USB Printer

umodem* at uhub? port ? configuration ?                 # USB Modem
uftdi*  at uhub? port ?         # FTDI FT8U100AX serial adapter
uplcom* at uhub? port ?         # I/O DATA USB-RSAQ2 serial adapter
ucom*   at umodem?
ucom*   at uftdi? portno ?
ucom*   at uplcom? portno ?

umass*  at uhub? port ? configuration ? interface ?     # USB Mass  
Storage
uaudio* at uhub? port ? configuration ?                 # USB audio
umidi*  at uhub? port ? configuration ?                 # USB MIDI

# USB Ethernet adapters
aue*    at uhub? port ?         # ADMtek AN986 Pegasus based adapters
cue*    at uhub? port ?         # CATC USB-EL1201A based adapters
kue*    at uhub? port ?         # Kawasaki LSI KL5KUSB101B based  
adapters

uscanner* at uhub? port ?                               # USB scanners
uyap* at uhub? port ?                                   # Y@P firmware  
loader
ugen*   at uhub? port ? configuration ? interface ?     # USB Generic  
driver

# PCI IEEE1394 controllers
fwohci* at pci? dev ? function ?        # IEEE1394 Open Host Controller
#fwlynx* at pci? dev ? function ?       # IEEE1394 TI Lynx Controller
fw*     at fwbus?                       # IP over 1394

# IEEE1394 nodes
#fwnode* at fwbus? oui ? devhi ? devlo ?
#scsibus* at fwnode?

# PCI audio devices
#clcs*  at pci? dev ? function ?        # Cirrus Logic CS4280
#cmpci* at pci? dev ? function ?        # C-Media CMI8338/8738
eap*    at pci? dev ? function ?        # Ensoniq AudioPCI
#eso*   at pci? dev ? function ?        # ESS Solo-1 PCI AudioDrive
#fms*   at pci? dev ? function ?        # Forte Media FM801
#sv*    at pci? dev ? function ?        # S3 SonicVibes

audio*  at audiobus?                    # Audio support

midi*   at midibus?                     # MIDI support
#mpu*   at midibus?                     # MPU 401 UARTs
#opl*   at midibus?                     # OPL[23] FM synthesizers

pseudo-device   vnd             4       # disk-like interface to files
pseudo-device   ccd             4       # concatenated/striped disk  
devices
#pseudo-device  cgd             4       # cryptographic disk devices
pseudo-device   md              1       # memory disk device
pseudo-device   loop                    # network loopback
pseudo-device   bpfilter        8       # packet filter
#pseudo-device  ipfilter                # IP filter (firewall) and NAT
pseudo-device   ppp             2       # Point-to-Point Protocol
pseudo-device   pppoe                   # PPP over Ethernet (RFC 2516)
pseudo-device   sl              2       # Serial Line IP
pseudo-device   tun             4       # network tunneling over tty
#pseudo-device  gre             2       # generic L3 over IP tunnel
pseudo-device   gif             4       # IPv[46] over IPv[46] tunnel  
(RFC1933)
pseudo-device   faith           1       # IPv[46] tcp relay translation  
i/f
pseudo-device   stf             1       # 6to4 IPv6 over IPv4  
encapsulation
pseudo-device   vlan                    # IEEE 802.1q encapsulation
pseudo-device   pty                     # pseudo-terminals
pseudo-device   rnd                     # /dev/random and in-kernel  
generator
#pseudo-device  raid            8       # RAIDframe disk driver
#options        RAID_AUTOCONFIG         # auto-configuration of RAID  
components
# Options to enable various other RAIDframe RAID types.
#options        RF_INCLUDE_EVENODD=1
#options        RF_INCLUDE_RAID5_RS=1
#options        RF_INCLUDE_PARITYLOGGING=1
#options        RF_INCLUDE_CHAINDECLUSTER=1
#options        RF_INCLUDE_INTERDECLUSTER=1
#options        RF_INCLUDE_PARITY_DECLUSTERING=1
#options        RF_INCLUDE_PARITY_DECLUSTERING_DS=1