Date: Tue, 14 Dec 1999 10:52:55 -0800 (PST) From: Lars Eggert <larse@isi.edu> To: freebsd-mobile@FreeBSD.ORG, larse@isi.edu Subject: PAO3-19991011 network/sound problem Message-ID: <14422.37383.133544.844557@dee.isi.edu>
next in thread | raw e-mail | index | archive | help
--hrZe/s99k5 Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Hi, I've run into a problem setting up PAO3-19991011 on a Gateway Solo 9100 with a 3com 589D PC card (ep0) and the built-in sound chip (Yamaha OPL-3). Whenever I enable sound support in the kernel via pcm0, the ep0 card stops working. It is still recognized by PAO and configured correctly, but it doesn't talk to the network. If I disable sound (by commenting out the pcm0 line in attached config file) the ep0 card works fine. The sound chip has been configured (via the BIOS) to use irq5, port 0x220-0x22f, mpu port 0x330-0x333 and DMA channels 0 and 1. Windows tells me it uses irq5 and these ports: 0x370-0x371, 0x530-0x537, 0x388-0x38f and 0x330-0x331, as well as DMA channels 0 and 1. FreeBSD tells me this (also check the attached dmesg file): ... try to identify the yamaha pcm0 at 0x530 irq 5 drq 0 flags 0xc111 on isa mss_attach <mss>0 at 0x530 irq 5 dma 0:1 flags 0xc111 As for the ep0 card, PAO configures it like this: Card inserted, slot 0 Experimental clpd-6832 support: please send the following messages to hosokawa@jp.FreeBSD.org Misc 3 register is 0x0 Set Misc 3 register to 0x1 Misc 3 register is 0x0 card0: assign ep0 iobase 0x240 irq 10 ep0: utp/bnc[*UTP*] address 00:60:97:92:c0:13 To me, this does not look like there is a conflict here. Does anyone have a clue what is going on? Attached are my kernel config file and the output of dmesg. --hrZe/s99k5 Content-Type: text/plain Content-Disposition: inline; filename="lars.demsg" Content-Transfer-Encoding: 7bit Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.3-RELEASE #35: Tue Dec 14 10:27:33 PST 1999 root@dum-e.isi.edu:/usr/src/sys/compile/LARS Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P55C (167.05-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x544 Stepping = 4 Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> real memory = 50331648 (49152K bytes) avail memory = 46129152 (45048K bytes) Preloaded elf kernel "kernel" at 0xc02c1000. Probing for devices on PCI bus 0: chip0: <Intel 82439TX System Controller (MTXC)> rev 0x01 on pci0.0.0 chip1: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.1.0 ELCR2 02 -> 06 ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.1.1 uhci0: <Intel 82371AB/EB USB Host Controller> rev 0x01 int d irq 9 on pci0.1.2 chip2: <Intel 82371AB Power management controller> rev 0x01 on pci0.1.3 vga0: <Chips & Technologies model 00e4 VGA-compatible display device> rev 0xc2 on pci0.2.0 pcic0: <Cirrus Logic PD6832 PCI/CardBus Bridge> rev 0xc1 int a irq 255 on pci0.10.0 CLPD683X PCI Config Reg: [CSC isa irq] pcic1: <Cirrus Logic PD6832 PCI/CardBus Bridge> rev 0xc1 int b irq 255 on pci0.10.1 CLPD683X PCI Config Reg: [CSC isa irq] Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x280 fe0 not found at 0x300 wi0 not found atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A pca0 on motherboard pca0: PC speaker audio driver ... try to identify the yamaha pcm0 at 0x530 irq 5 drq 0 flags 0xc111 on isa mss_attach <mss>0 at 0x530 irq 5 dma 0:1 flags 0xc111 setting up yamaha registers set yamaha master volume to max fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 flags 0xb0ffb0ff on isa wdc0: unit 0 (wd0): <IBM-DLGA-23080>, LBA, DMA, 32-bit, multi-block-16 wd0: 2937MB (6015744 sectors), 746 cyls, 128 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 flags 0xb0ffb0ff on isa wdc1: unit 0 (atapi): <TOSHIBA CD-ROM XM-1502B/2906>, removable, accel, dma, iordy acd0: drive speed 1722KB/sec, 128KB cache acd0: supported read types: CD-R, CD-DA, packet track acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked ppc0 at 0x378 irq 7 flags 0x40 on isa ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold lpt0: <generic printer> on ppbus 0 lpt0: Interrupt-driven port ppi0: <generic parallel i/o> on ppbus 0 plip0: <PLIP network interface> on ppbus 0 ep0 not found at 0x300 sn0 not found at 0x300 wlp0 not found at 0x300 ux0 not found at 0x300 xe0: probe xe0 not found pcic0 at 0x3e0-0x3e1 irq 11 on isa PC-Card ctlr(0) Cirrus Logic PD-6832 [CardBus bridge mode] (5 mem & 2 I/O windows) pcic0: slot 0 controller I/O address 0x0 pcic0: slot 1 controller I/O address 0x0 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface apm0 on isa apm: found APM BIOS version 1.2 joy0 at 0x201 on isa joy0: joystick usb0: <Intel 82371AB/EB USB Host Controller> uhub0 at usb0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered Initializing PC-card drivers: ux ed ep fe sn wi wlp xe joy sio wdc Intel Pentium detected, installing workaround for F00F bug changing root device to wd0s2a Card inserted, slot 0 Experimental clpd-6832 support: please send the following messages to hosokawa@jp.FreeBSD.org Misc 3 register is 0x0 Set Misc 3 register to 0x1 Misc 3 register is 0x0 card0: assign ep0 iobase 0x240 irq 10 ep0: utp/bnc[*UTP*] address 00:60:97:92:c0:13 --hrZe/s99k5 Content-Type: text/plain Content-Disposition: inline; filename="lars.config" Content-Transfer-Encoding: 7bit # # PAO_ALL --- Generic Laptop Configuration with PAO project. # (based on GENERIC) # # For more information on this file, please read the PAO Frequently # Asked Question and handbook section on Kernel Configuration Files: # # http://www.jp.FreeBSD.org/PAO/#faq # http://www.freebsd.org/handbook/kernelconfig-config.html # # If you have any questions, please contact the FreeBSD-mobile Mailing # List (English) <freebsd-mobile@FreeBSD.ORG> and BSD-nomads Mailing # List (Japanese) <bsd-nomads@clave.gr.jp>. See the PAO home page # (http://www.jp.FreeBSD.org/) for more information. # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $Id: PAO_ALL,v 1.14 1999/09/21 14:18:03 toshi Exp $ machine "i386" #cpu "I386_CPU" #cpu "I486_CPU" cpu "I586_CPU" #cpu "I686_CPU" options "CPU_FASTER_5X86_FPU" options "CPU_SUSP_HLT" ident LARS maxusers 32 #options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem #options MFS_ROOT #MFS usable as root device, "MFS" req'ed #options NFS #Network Filesystem #options NFS_ROOT #NFS usable as root device, "NFS" req'ed #options MSDOSFS #MSDOS Filesystem #options "CD9660" #ISO 9660 Filesystem #options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed #options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] #options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device options UCONSOLE #Allow users to grab the console #options FAILSAFE #Be conservative #options USERCONFIG #boot -c editor #options VISUAL_USERCONFIG #visual boot -c editor #options KTRACE #ktrace(1) syscall trace support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores # You may need to reset all pccards after resuming options PCIC_RESUME_RESET # Detach SCSI devices when the SCSI card is removed #options SCSI_DETACH # Detach ATAPI devices when the ATA card is removed options ATAPI_DETACH # Japanese version of WaveLAN PCMCIA uses 2.4GHz band instead of 915MHz # band that US version uses. If you want to use Japanese version of # WaveLAN, uncomment this line, or edit the corresponding config entry # of /etc/pccard.conf. #options "WAVELAN_PCMCIA_24" # Suspend the system when the battery status is "Low" options "APM_BATT_LOW_SUSPEND" # If you want to use NTP on laptop machines, uncomment the following # option. Current APM implementation affects NTP client. options "APM_NO_CLOCK_ADJUST" # PAO Enhanced PCI-PCIC support (experimental) options CB_TEST options FORCE_IRQ_ROUTING config kernel root on wd0 # To make an SMP kernel, the next two are needed #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O # Optionally these may need tweaked, (defaults shown): #options NCPU=2 # number of CPUs #options NBUS=4 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs controller isa0 #controller pnp0 # PnP support for ISA #controller eisa0 controller pci0 # PCCARD (PCMCIA) support - do not remove. pseudo-device card 1 # You must use "flags 0x1" when you don't hear any negotiation noise(?) # if you use modem card, or pccardd doesn't read cis tuple, tell you # 'No card in database for"(null)"("(null)")' in case of Cirrus Logic's # pcic is your PC. #device pcic0 at isa? port 0x3e0 flags 0x1 irq 11 device pcic0 at isa? port 0x3e0 irq 11 #device pcic0 at isa? port 0x3e4 irq 11 #device pcic1 at isa? port 0x3e2 # for HiNote Ultra II #device pcic1 at isa? port 0x3e4 # for Chandra II # Floppy drives controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 #disk fd1 at fdc0 drive 1 # Libretto PCMCIA floppy support #controller fdc1 at isa? disable port "IO_YEFDC" bio irq ? #disk fd2 at fdc1 drive 0 #disk fd3 at fdc1 drive 1 #options FDC_YE # IDE controller and disks options "CMD640" # work around CMD640 chip deficiency controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0xb0ffb0ff disk wd0 at wdc0 drive 0 #disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" bio irq 15 flags 0xb0ffb0ff disk wd2 at wdc1 drive 0 #disk wd3 at wdc1 drive 1 # Flash ATA / ATA HDD / ATAPI drive support #controller wdc2 at isa? disable port 0x340 bio irq ? #disk wd4 at wdc2 drive 0 #disk wd5 at wdc2 drive 1 #controller wdc3 at isa? disable port 0x360 bio irq ? #disk wd6 at wdc3 drive 0 #disk wd7 at wdc3 drive 1 # ATAPI devices options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM device acd0 #IDE CD-ROM #device wfd0 #IDE Floppy (e.g. LS-120) # SCSI Controllers # A single entry for any of these controllers (ncr, ahb, ahc) is # sufficient for any number of installed devices. #controller ncr0 # NCR/Symbios Logic #controller ahb0 # EISA AHA1742 family #controller ahc0 # AHA2940 and onboard AIC7xxx devices #controller amd0 # AMD 53C974 (Teckram DC-390(T)) #controller isp0 # Qlogic family #controller dpt0 # DPT Smartcache - See LINT for options! #controller adv0 at isa? port ? cam irq ? #controller adw0 #controller bt0 at isa? port ? cam irq ? #controller aha0 at isa? port ? cam irq ? # SCSI peripherals # Only one of each of these is needed, they are dynamically allocated. #controller scbus0 # SCSI bus (required) #device da0 # Direct Access (disks) #device sa0 # Sequential Access (tape etc) #device cd0 # CD #device pass0 # Passthrough device (direct SCSI) # Proprietary or custom CD-ROM Interfaces #device wt0 at isa? port 0x300 bio irq 5 drq 1 #device mcd0 at isa? port 0x300 bio irq 10 #device matcd0 at isa? port 0x230 bio #device scd0 at isa? port 0x230 bio # atkbdc0 controls both the keyboard and the PS/2 mouse controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? tty # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? tty #options XSERVER # support for X server #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std # Floating point support - do not disable. device npx0 at isa? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at isa? # Advanced Power Management # Serial (COM) ports & PCCARD modem etc. device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 device sio1 at isa? port "IO_COM2" tty irq 3 #device sio2 at isa? disable port "IO_COM3" tty irq 5 #device sio3 at isa? disable port "IO_COM4" tty irq 9 #device sio4 #device sio5 # Parallel port device ppc0 at isa? port? flags 0x40 net irq 7 controller ppbus0 # Parallel port bus (required) device lpt0 at ppbus? # Printer device plip0 at ppbus? # TCP/IP over parallel device ppi0 at ppbus? # Parallel port interface device #controller vpo0 at ppbus? # Requires scbus and da0 # PCI Ethernet NICs. #device al0 # ADMtek AL981 (``Comet'') #device ax0 # ASIX AX88140A #device de0 # DEC/Intel DC21x4x (``Tulip'') #device fxp0 # Intel EtherExpress PRO/100B (82557, 82558) #device mx0 # Macronix 98713/98715/98725 (``PMAC'') #device pn0 # Lite-On 82c168/82c169 (``PNIC'') #device rl0 # RealTek 8129/8139 #device sf0 # Adaptec AIC-6915 DuraLAN (``Starfire'') #device tl0 # Texas Instruments ThunderLAN #device tx0 # SMC 9432TX (83c170 ``EPIC'') #device vr0 # VIA Rhine, Rhine II #device vx0 # 3Com 3c590, 3c595 (``Vortex'') #device wb0 # Winbond W89C840F #device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'') # ISA & PCCARD Ethernet NICs. # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 #device ed1 at isa? disable port 0x300 net irq 10 iomem 0xd8000 #device ie0 at isa? disable port 0x300 net irq 10 iomem 0xd0000 device ep0 at isa? port 0x300 net irq 10 #device ep1 at isa? disable port 0x300 net irq 10 #device ex0 at isa? disable port? net irq? device fe0 at isa? port 0x300 net irq ? #device fe1 at isa? disable port 0x300 net irq ? #device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 #device lnc0 at isa? disable port 0x280 net irq 10 drq 0 #device cs0 at isa? disable port 0x300 net irq ? device sn0 at isa? port 0x300 net irq 10 #device sn1 at isa? disable port 0x300 net irq 10 device wlp0 at isa? port 0x300 net irq 11 #device wlp1 at isa? disable port 0x300 net irq 11 #device cnw0 at isa? port 0x300 net irq 5 #device cnw1 at isa? disable port 0x300 net irq 5 device ux0 at isa? port 0x300 net irq 5 device wi0 at isa? port? net irq ? device xe0 at isa? port? net irq ? # do not enable ze0 and zp0 (these devices are obsolete) ##device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 ##device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 # IBM Smart Capture PCMCIA card #device scc0 #device scc1 # Hitachi microcomputer system Speach Synthesizer card #device hss0 #device hss1 # PCMCIA Joystick #device joy0 at isa? disable port "IO_GAME" # PCMCIA GPIB card #device gp0 at isa? disable port 0x2c0 tty # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support #pseudo-device sl 1 # Kernel SLIP # ppp(8) uses tun instead of ppp device #pseudo-device ppp 1 # Kernel PPP pseudo-device tun 1 # Packet tunnel pseudo-device pty 16 # Pseudo-ttys (telnet etc) pseudo-device gzip # Exec gzipped a.out's pseudo-device vn # Vnode driver (turns a file into a device) # # Enable the kernel debugger. # options DDB # The `bpfilter' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # The number of devices determines the maximum number of # simultaneous BPF clients programs runnable. pseudo-device bpfilter 2 #Berkeley packet filter options "MD5" options "VM86" options PPP_BSDCOMP options PPP_DEFLATE options PPP_FILTER options "ICMP_BANDLIM" options SOFTUPDATES options "P1003_1B" options "_KPOSIX_PRIORITY_SCHEDULING" options "_KPOSIX_VERSION=199309L" pseudo-device speaker device pca0 at isa? port "IO_TIMER1" tty options "AUTO_EOI_1" #options "AUTO_EOI_2" DON'T USE THIS! options PSM_HOOKAPM options PSM_RESETAFTERSUSPEND #reset the device at the resume event options VESA options SC_HISTORY_SIZE=1000 device pcm0 at isa? port? tty irq 5 drq 0 flags 0x11 device uhci0 device ohci0 controller usb0 device ugen0 device uhid0 device ukbd0 device ulpt0 device ums0 device joy0 at isa? port IO_GAME --hrZe/s99k5 Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Thanks, Lars ___________________________________________________________________________ Lars Eggert <larse@isi.edu> Information Sciences Institute http://www.isi.edu/~larse/ University of Southern California --hrZe/s99k5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14422.37383.133544.844557>