Date: Sun, 25 Jan 1998 23:33:45 +0100 (MET) From: Ugo Paternostro <paterno@dsi.UNIFI.IT> To: Nate Williams <nate@mt.sri.com> Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Cirrus Logic PD6729 Message-ID: <XFMail.980125233345.paterno@dsi.UNIFI.IT> In-Reply-To: <199801251859.LAA28629@mt.sri.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 25-Jan-98 Nate Williams wrote about "Re: Cirrus Logic PD6729": > This is a -current box? I didn't realize that. All bets are off as to Yes, it is: I don't like easy things, you know... ;-) > stability. These panics might not even be related to the PCCARD stuff > because of the VM stuff (alhtough they might be mostly worked around as > of a couple of days ago.) No, wait, please: the panic at the end (while unmounting disks) is surely related to a vm problem, in fact it happens while the kernel is in free(), but I would bet that the panic at the even boots is all but a vm problem... >> What about interrupt vector initialization? Where does irq 10 vector point > > Unless the FreeBSD kernel attaches a driver to it, they are all attached > to IRQ 7, the 'junk' IRQ. Sorry, I don't understand that: you mean that every IRQ will fire the same handler? > [ Success deleted ] You're too optimist :( It still *seems* to work: this is an extract of "dmesg": [...omissis...] apm: found APM BIOS version 1.2 Freelist of IRQ's <0x8e20> PC-Card Cirrus Logic PD672X (5 mem & 2 I/O windows) pcic: controller irq 5 pcic_probe: slot 0: ADDDWINE: 0x60 pcic_probe: slot 0: INT_GEN: 0x6a pcicintr: unit 0 ^^^^^^^^^^^^^^^^^^ pcic_probe: slot 1: ADDDWINE: 0x00 pcic_probe: slot 1: INT_GEN: 0x00 Initializing PC-card drivers: ep sio Intel Pentium F00F detected, installing workaround Card inserted, slot 0 WARNING: / was not properly dismounted. OSS/FreeBSD loading, address = f3fbc020 Map I/O 0x300 (size 0x10) on Window 0 allocate_driver: slot 0: irq 10 pcic_mapirq: slot 0: irq 10 ep0: utp/bnc[*UTP*] address 00:60:08:22:1e:cb as you can see I added some printf, to understand what is happening at boot time. I enphatized the pcicintr line, to show you that as soon as the pcic driver powers the board on, it generates an interrupt. If I compile without the PCIC_DEBUG and the (new) PCIC_DEBUG_UGO defines, the kernel crashes, and the machine don't see the HD any more. BTW, the "WARNING: / was not properly dismounted." message comes of the vm panic, at the shutdown. > Let me know when you get things ready. I will test the patches until I'm able to reboot without any panic (vm or PCMCIA related), then I will send them to you. > Nate Bye, UP
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980125233345.paterno>