From owner-freebsd-questions@FreeBSD.ORG Sun Jan 7 15:54:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 27FDB16A403 for ; Sun, 7 Jan 2007 15:54:57 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 7667F13C455 for ; Sun, 7 Jan 2007 15:54:56 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so8540228nfc for ; Sun, 07 Jan 2007 07:54:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=uA6Vh9xTDNW0X3DQX8V0JG0wFZW/ZBHp75t9DPJGY3c/098cEMc+VnejxUzGQUR48CwxncnnQgLcX2wNxF3bv2+P0zubS6mCnBKZUMKmQA0MJPxuknmUZtKIP6AQxv/vLUg091lYMSMRvE5UjgLTywPSTosdPWjGcU8YsnLEECA= Received: by 10.82.182.8 with SMTP id e8mr2086880buf.1168185295381; Sun, 07 Jan 2007 07:54:55 -0800 (PST) Received: by 10.82.175.3 with HTTP; Sun, 7 Jan 2007 07:54:55 -0800 (PST) Message-ID: <539c60b90701070754r33ba9ae8q6b22f96be0ab6ea0@mail.gmail.com> Date: Sun, 7 Jan 2007 08:54:55 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "Giorgos Keramidas" , "FreeBSD Users Questions" In-Reply-To: <20070107031750.GA5828@kobe.laptop> MIME-Version: 1.0 References: <539c60b90701060908o460d1d98wab2f2514a3a9d1e2@mail.gmail.com> <20070106202147.GB2532@kobe.laptop> <539c60b90701061849u35ddc61ch16a49484bd3baf12@mail.gmail.com> <20070107031750.GA5828@kobe.laptop> X-Google-Sender-Auth: cf7ece14ca6f448f Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: no ath0 on new system with good card X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2007 15:54:57 -0000 Apologies on not hitting the list. Alyays forget to reply-all. So, I figured I'd try to fix the safe-mode end of things on my own, and I found a post several years old (looked like it even could have been yours) about safemode, which doesn't show up anywhere on the freebsd site. So I did what it said and grep'd boot/beastie.4th for safemode, which came up with this suprisingly total solution: add apic.0.disabled="1" to boot/device.hints. Not only does my system come up in regular boot mode, but, as you suspected, the pccard works too, so all appears well. I'm sorry for the confusion - origonally, I was running i386/6.1 on the system which booted normially if the serial ports (sio) were disabled. Halfway thru the conversation, I realized I could upgrade to amd64/6.1, which would only boot safemode, even with sio disabled. So my final question, what in all the land is an "apic", and why isn't apic or safemode mentioned in the handbook, manpages, or even on the freebsd site? Further, I'd like to write a handbook page on "freebsd and laptops", because we're on my third one here now, and I'm starting to get the drift of what could usefully be added to the handbook, namely a thourough discussion of booting and device.hints. I presume someone 'peer-reviews' handbook submissions for correctness and format? I recall reading somewhere about contributing, but I get the impression you are involved enough to tell me whether it's a bad idea or not. Thanks again, Steve On 1/6/07, Giorgos Keramidas wrote: > > Please don't top post :( > > It would also be nice if you copied the mailing list to any > replies, but I don't know if I should copy this reply to the list > too, so I am sending it privately. > > On 2007-01-06 19:49, Steve Franks wrote: > >On 1/6/07, Giorgos Keramidas wrote: > >>On 2007-01-06 10:08, Steve Franks wrote: > >>> I have an ath0 card working fine in one system. I put it in > >>> the other, kldload if_ath, but no ath0. kldload appears > >>> sucessful, because if you try it again, if says file already > >>> present. I notice my pcmcia appears to show up sucesfully > >>> when I boot, but I get no output on tty0 when I plug in the > >>> ath card, like you do on the other system. > >> > >> Are the two systems the same FreeBSD version? If not, can you > >> show us dmesg output from the two systems, and then "pciconf > >> -lv" output after the card has been plugged in? > > > > dmesg gives the following interesting info: > > > > cbb0: .... > > pccard0: <16 bit...>... on cbb > > cbb: Unable to map IRQ... > > device_attatch: cbb0 attatch returned 12 > > > > nothing seems amiss in pciconf -lv (no net on that system - broadcom :( > , > > although I don't see entries I'd expect for the cbb0... > > > > Note, I neglected to mention I the computer won't start unless > > it's in safe mode, otherwise, it freezes after the line > > "module_register_init: MOD_LOAD (amr_linux, 0xffffffff806205d0, > > 0) error 6". The line before that is "Timecounters tick every > > 1.000 msec", and the line after (in safe-mode) is "ad0: > > 57231MB...." > > The amr(4) driver is the driver for MegaRAID SCSI/ATA/SATA RAID > controllers. Can you try disabling this controller and see if > the kernel boots normally in normal mode? > > I still don't know about thee following: > > - Are the two computers the same? (The one where the > PC-CARD works, and the one where it doesn't) > > - What FreeBSD version is this? > > In "safe mode" ACPI is disabled, and this may be why your cbb0 > PCI-CardBus bridge fails to work properly. > > -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089