From owner-freebsd-mobile Thu Nov 22 17:33:55 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from slarti.muc.de (slarti.muc.de [193.149.48.10]) by hub.freebsd.org (Postfix) with SMTP id 8E17D37B416 for ; Thu, 22 Nov 2001 17:33:46 -0800 (PST) Received: (qmail 17372 invoked from network); 23 Nov 2001 01:34:27 -0000 Received: from jhs.muc.de (193.149.49.84) by slarti.muc.de with SMTP; 23 Nov 2001 01:34:27 -0000 Received: (from jhs@localhost) by jhs.muc.de (8.11.0/8.11.0) id fAN1bFa55319; Fri, 23 Nov 2001 01:37:15 GMT (envelope-from jhs) Date: Fri, 23 Nov 2001 01:37:15 GMT Message-Id: <200111230137.fAN1bFa55319@jhs.muc.de> To: mobile@freebsd.org Subject: 4.4 boot hang pci_cfgintr_linked: linked (60) to hard routed irq 10 From: "Julian Stacey" Organization: Vector Systems Ltd - Munich Unix & Internet consultancy X-Web: http://www.jhs.muc.de http://bim.bsn.com/~jhs/ Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Folks, Any ideas on this problem: - My ACi Mirage laptop with 4.4 Generic & Custom kernels hangs during boot. - My 4.3 custom kernel boots & runs fine. - It's a big laptop, with lots of stuff in ie 2 IDE busses, ls120 & cdrom on 2nd bus etc. - I append below configs from my working 4.3 & failing 4.4 kernels. - I can generate a 4.4 kernel that boots, but only by cripling my ethernet on a 3C589C via pcmcia by removing the line in kernel with device card and adding device pccard - The laptop has a Systems soft Mobile Pro Bios 1.1 - It's not a problem of corrupt src/ as I've compiled & am running 4.4 custom kernels for another 3 towers & 1 laptop + GENERIC here. - A friend visiting tried with a stable src/ a couple of weeks back, no luck, I've not tried since though. - I tried (without being very clear what I was doing) /boot/loader.conf machdep.pccard.pcic_irq=0 machdep.bios.pnp=disable machdep.bios.pci=disable it didnt help - I dont see that interrupts in /etc/defaults.conf can have any efect, as kernel doesnt even boot to read it before it crashes (just mentioning as I read somewhere it was deprecated) - If there's any more info I can give, or reccomendation what/where to read/do please say. I'm not failiar with kernel gdb (but maybe I may have to become so ?) - Any ideas please ? I'm stuck ! PS my 4.3 custom config (called Lapd) was slightly simpler than my 4.4 config (called Lapa), as the 4.3 was written for a simpler 586 host (called Lapd) with just 1 IDE etc, then borrowed for the ACi laptop (called Lapa), just adding 'cpu "I686_CPU"' but even when I reverted my 4.4 ACi config to the simpler config appropriate to the other simpler laptop, it still crashed on boot, as does 4.4 generic. 4.4 Hang on boot, hand copied: {--- ata1: mask=03 status0=00 status1=00 ata1: devices=0c ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x7112) at 7.2 irq 10 chip1: port 0x1400-0x140f at device 7.3 on pci0 pci0: (vendor=0x5333, dev=0x8c03) at 8.0 pci_cfgintr_linked: linked (60) to hard routed irq 10 Fatal trap:12 page fault while in kernel mode fault virtual address = 0xeb6b6 fault code = supervisor read, page not present instruction pointer = 0x8:0xc00eb5b7 stack pointer = 0x10:0xc036ad6c frame pointer = 0x10:0xc036ad6c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) interrupt mask = net tty bio cam kernel: type 12 trap, code=0 Stopped at 0xc00eb5b7: cmpb %cs:0x1(%esi),%bl db> }--- Result of `strings /kernel.4.3 | grep ___ | sed -e s/___//` {--- options INCLUDE_CONFIG_FILE machine i386 cpu "I686_CPU" cpu "I586_CPU" ident JHS_Lapd maxusers 64 options INET options INET6 options FFS options FFS_ROOT options SOFTUPDATES options MFS options MD_ROOT options NFS options NFS_ROOT options MSDOSFS options CD9660 options CD9660_ROOT options COMPAT_43 options UCONSOLE options USERCONFIG options VISUAL_USERCONFIG options KTRACE options SYSVSHM options SYSVMSG options SYSVSEM options "TCP_COMPAT_42" options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM options KBD_INSTALL_CDEV options IPFIREWALL options IPFIREWALL_VERBOSE options USER_LDT device isa options PNPBIOS device pci device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device ata0 at isa? port IO_WD1 irq 14 device ata device atadisk device atapicd options ATA_STATIC_ID device scbus device da device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? device sc0 at isa? flags 0x100 options XSERVER device npx0 at nexus? port IO_NPX irq 13 options "IBCS2" device apm0 at nexus? disable flags 0x20 device card device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000 device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 disable device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device ppc0 at isa? irq 7 device ppbus device lpt device plip device ppi device miibus device ep pseudo-device loop pseudo-device ether pseudo-device sl 1 pseudo-device ppp 1 pseudo-device vn pseudo-device tun pseudo-device pty pseudo-device md pseudo-device gif 4 pseudo-device faith 1 pseudo-device speaker pseudo-device bpf device usb device umass }--- Result of `strings /kernel.4.4 | grep ___ | sed -e s/___//` {--- options INCLUDE_CONFIG_FILE machine i386 cpu "I686_CPU" ident JHS_Lapa maxusers 64 options INET options INET6 options FFS options FFS_ROOT options SOFTUPDATES options MFS options MD_ROOT options NFS options NFS_ROOT options MSDOSFS options CD9660 options CD9660_ROOT options COMPAT_43 options UCONSOLE options USERCONFIG options VISUAL_USERCONFIG options KTRACE options DDB options SYSVSHM options SYSVMSG options SYSVSEM options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM options KBD_INSTALL_CDEV options IPFIREWALL options IPFIREWALL_VERBOSE options USER_LDT device isa options PNPBIOS device pci device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk device atapicd device atapifd options ATA_STATIC_ID device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? device sc0 at isa? flags 0x100 options XSERVER device npx0 at nexus? port IO_NPX irq 13 options "IBCS2" device apm0 at nexus? disable flags 0x20 device card device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000 device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 disable device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device ppc0 at isa? irq 7 device ppbus device lpt device plip device ppi device miibus device ep pseudo-device loop pseudo-device ether pseudo-device sl 1 pseudo-device ppp 1 pseudo-device vn pseudo-device tun pseudo-device pty pseudo-device md pseudo-device gif pseudo-device faith 1 pseudo-device speaker pseudo-device bpf device usb }--- Julian J.Stacey Munich Unix (FreeBSD, Linux etc) Independent Consultant Free Software with Free Sources: http://bim.bsn.com/~jhs/free/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message