Date: Tue, 11 Jan 2000 09:11:59 +0100 (MET) From: #Michael Class <michaelc@tmbbwmc.bbn.hp.com> To: Bill Fumerola <billf@chc-chimes.com> Cc: freebsd-current@freebsd.org Subject: Re: Neomagic Sounddriver hangs HP OB4150 Message-ID: <Pine.HPX.4.21.0001110830350.10619-100000@tmbbwmc.bbn.hp.com> In-Reply-To: <Pine.BSF.4.10.10001101506460.9382-100000@jade.chc-chimes.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 10 Jan 2000, Bill Fumerola wrote: > On Mon, 10 Jan 2000, #Michael Class wrote: > > > The Laptop is equipped with the following Neomagic-Chip: > > chip1: <NeoMagic MagicMedia 256AX Audio controller> irq 10 at device 0.1 on pci1 > > > > The Stack-Backtrace looks exactly the same as the other mail mentioned. A > > little bit further digging into this shows me that on this Laptop every > > read access to the second memory-area of the chip in the range of 0x600-0x8ff > > brings the machine to a halt. I can read successfully from the areas with > > offset 0x0-0x5ff and 0x900-0xFFF. The Header-File states that the mixer-I/O > > Area starts at offset 0x600. This access brings the machine to a halt during > > boot. > > > > Any suggestions of what I could try? > > Try providing us with real data. The boot message you gave us is when > pcisupport.c matches it, not when neomagic. matches it. It is impossible > to recieve the above message and then have the neomagic code fall on > its face. I am sorry, but the obove message was just copied from a kernel without the neomagic driver to show which chip (256AX instead of 256 Zsomething) the Laptop has. It was not intended to be the message during boot with the new driver. Given the fact that someone else already gave an exact stack-backtrace which is identical of what I am getting (ac97_init calls nm_rd with an argument of 0x600 and size 2 which then does a bus_space_read2 where it hangs. (Names unfortunately not exact, I do have the code not at my hands)) I have not yet setup a serial console on this machine, so I am not able to provide you with the boot-messages of the kernel that hangs. Here is the bootmessage of the kernel without the neomagic-sound-driver (Jan 7th.) Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #0: Fri Jan 7 14:04:10 MET 2000 michaelc@pc-micha.mc.hp.com:/usr/src/sys/compile/MCOB4150 Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Celeron (397.05-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping = 10 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> real memory = 201326592 (196608K bytes) avail memory = 191954944 (187456K bytes) Preloaded elf kernel "kernel" at 0xc02eb000. Pentium Pro MTRR support enabled npx0: <math processor> on motherboard npx0: INT 16 interface apm0: <APM BIOS> on motherboard apm: found APM BIOS v1.2, connected at v1.2 pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 vga-pci0: <NeoMagic MagicMedia 256AV SVGA controller> irq 9 at device 0.0 on pci1 chip1: <NeoMagic MagicMedia 256AX Audio controller> irq 10 at device 0.1 on pci1 pcic-pci0: <TI PCI-1220 PCI-CardBus Bridge> at device 4.0 on pci0 pcic-pci1: <TI PCI-1220 PCI-CardBus Bridge> at device 4.1 on pci0 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 ata-pci0: <Intel PIIX4 ATA-33 controller> at device 7.1 on pci0 ata-pci0: Busmastering DMA supported ata0 at 0x01f0 irq 14 on ata-pci0 ata1 at 0x0170 irq 15 on ata-pci0 pci0: Intel 82371AB/EB (PIIX4) USB controller (vendor=0x8086, dev=0x7112) at 7.2 irq 10 chip2: <Intel 82371AB Power management controller> at device 7.3 on pci0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> pcic0: <VLSI 82C146> at irq 3 on isa0 pccard0: <PC Card bus -- kludge version> on pcic0 pccard1: <PC Card bus -- kludge version> on pcic0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, unlimited logging ad0: <IBM-DCXA-210000/CX6OA82F> ATA-4 disk at ata0 as master ad0: 9590MB (19640880 sectors), 19485 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, UDMA33 acd0: <TOSHIBA DVD-ROM SD-C2202/1R13> DVD-ROM drive at ata1 as master acd0: read 4134KB/s (4134KB/s), 128KB buffer, ??? acd0: Reads: CD-R, CD-RW, CD-DA stream, DVD-ROM, DVD-R acd0: Audio: play, 16 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked pccard: card inserted, slot 0 pccard: card inserted, slot 1 ata_command: timeout waiting for interrupt Mounting root from ufs:/dev/ad0s3a /dev/vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: build-364 $ /dev/vmmon: Module vmmon: initialized sio2 at port 0x3e8-0x3ef irq 7 slot 0 on pccard0 sio2: type 16550A ed0 at port 0x340-0x35f irq 11 slot 1 on pccard1 ed0: address 00:e0:98:03:a4:ad, type Linksys (16 bit) And here the kernel-configuration: # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # For more information read the handbook part System Administration -> # Configuring the FreeBSD Kernel -> The Configuration File. # The handbook is available in /usr/share/doc/handbook or online as # latest version from the FreeBSD World Wide Web server # <URL:http://www.FreeBSD.ORG/> # # An exhaustive list of options and more detailed explanations of the # device lines is present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. machine i386 cpu I686_CPU ident MCOB4150 maxusers 64 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols # This allows you to actually store this configuration file into # the kernel binary itself, where it may be later read by saying: # strings /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL # options INCLUDE_CONFIG_FILE # Include this file in kernel options INET #InterNETworking options FFS #Berkeley Fast Filesystem options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options CD9660_ROOT #CD-ROM usable as root device options FFS_ROOT #FFS usable as root device [keep this!] options NFS_ROOT #NFS usable as root device options SOFTUPDATES options MSGBUF_SIZE=65536 # # Allow user-mode programs to manipulate their local descriptor tables. # This option is required for the WINE Windows(tm) emulator, and is # not used by anything else (that we know of). # options USER_LDT #allow user-level control of i386 ldt # # These three options provide support for System V Interface # Definition-style interprocess communication, in the form of shared # memory, semaphores, and message queues, respectively. # options SYSVSHM options SYSVSEM options SYSVMSG # # This option includes a MD5 routine in the kernel, this is used for # various authentication and privacy uses. # options MD5 options COMPAT_LINUX ##################################################################### # POSIX P1003.1B # Real time extensions added int the 1993 Posix # P1003_1B: Infrastructure # _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING # _KPOSIX_VERSION: Version kernel is built for options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L ##################################################################### # # Enable the following (IPFIREWALL_VERBOSE optional) to enable the IP firewall # code. This is used in conjunction with the ipfw(1) command. See the # man page for more details. options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #print information about # dropped packets options IPFIREWALL_FORWARD #enable xparent proxy support options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default options IPDIVERT #divert sockets ##################################################################### # ICMP_BANDLIM enables icmp error response bandwidth limiting. You # typically want this option as it will help protect the machine from # D.O.S. packet attacks. # options ICMP_BANDLIM ##################################################################### # DEBUGGING OPTIONS # # Enable the kernel debugger. # options DDB controller isa0 at nexus? controller pci0 at nexus? controller fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 #disk fd1 at fdc0 drive 1 # # ATA and ATAPI devices # This is work in progress, use at your own risk. # It currently reuses the majors of wd.c and freinds. # It cannot co-exist with the old system in one kernel. # You only need one "controller ata0" for it to find all # PCI devices on modern machines. controller ata0 device atadisk0 # ATA disk drives device atapicd0 # ATAPI CDROM drives controller atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x01 device psm0 at atkbdc? irq 12 device vga0 at isa? port ? conflicts device sc0 at isa? # splash screen/screen saver pseudo-device splash device npx0 at nexus? port IO_NPX irq 13 # # Laptop support (see LINT for more options) # device apm0 at nexus? # Advanced Power Management #SOUND: device pcm0 # PCCARD (PCMCIA) support controller card0 device pcic0 at isa? irq 3 device pcic1 at isa? irq 3 device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 #device sio2 at isa? disable port "IO_COM3" irq 11 #device sio3 at isa? disable port "IO_COM4" irq 9 #device ppc0 at isa? port ? irq 7 #controller ppbus0 #device lpt0 at ppbus? # 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 device ep0 pseudo-device loop pseudo-device ether pseudo-device tun pseudo-device bpf #Berkeley packet filter pseudo-device pty pseudo-device vn #Vnode driver (turns a file into a device) Michael ___________________________________________________________________________ Michael Class E-Mail: michael_class@hp.com E-Business Solution Division Phone: +49 7031 14-3707 Fax: +49 7031 14-4505 ___________________________________________________________________________ Hewlett-Packard GmbH, PO Box 1430, Mailstop ESD2, 71004 Boeblingen Sitz der Gesellschaft: Böblingen, Amtsgericht Böblingen HRB 4081 Geschäftsführer: Jörg Menno Harms (Vorsitzender),Rainer Erlat, Hans-Joachim Lueckefett,Heribert Schmitz,Fritz Schuller ___________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.HPX.4.21.0001110830350.10619-100000>