From owner-freebsd-mobile Mon Jan 12 19:20:47 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA20372 for mobile-outgoing; Mon, 12 Jan 1998 19:20:47 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from shell6.ba.best.com (jkb@shell6.ba.best.com [206.184.139.137]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA20359 for ; Mon, 12 Jan 1998 19:20:40 -0800 (PST) (envelope-from jkb@best.com) Received: from localhost (jkb@localhost) by shell6.ba.best.com (8.8.8/8.8.BEST) with SMTP id TAA23671; Mon, 12 Jan 1998 19:20:32 -0800 (PST) X-Authentication-Warning: shell6.ba.best.com: jkb owned process doing -bs Date: Mon, 12 Jan 1998 19:20:32 -0800 (PST) From: Jan Koum X-Sender: jkb@shell6.ba.best.com To: mobile@freebsd.org cc: "Goeringer, Michael" Subject: Problem booting a ThinkPad 750 (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk You will probably get more answers from -mobile, where I am forwarding this mail. :) -- Yan ---------- Forwarded message ---------- Date: Mon, 12 Jan 1998 16:29:01 -0500 From: "Goeringer, Michael" To: "'freebsd-questions@freebsd.org'" Subject: Problem booting a ThinkPad 750 Ran in to a problem for the first time. I have 2.2.5 residing nicley on a 520 meg drive with booteasy installed. For some reason, I can no longer get past the PCIC check during bootup. I get the follwong message "wd0s1c: wdstart: timeout waiting to give command reading fsbn 1wd0: status 0 error 0" followed by the same with "error 1 ". I can't even use a boot floppy to get the install screen...the system just hangs after the PCIC check. If I take the HD out or put a different one in (like my win95 drive) it boots off the floppy fine. Thinking that it could be a booteasy problem I attempted to remove it with fdisk /mbr..but there was no chang (booteasy still there). I also tried to install OS-BS off the CD with no effect.... I"m open for suggestions... Michael G. From owner-freebsd-mobile Thu Jan 15 15:06:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA22109 for freebsd-mobile-outgoing; Thu, 15 Jan 1998 15:06:15 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from and.com (and.com [204.71.212.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA22035; Thu, 15 Jan 1998 15:05:51 -0800 (PST) (envelope-from hahn@and.com) Received: (from hahn@localhost) by and.com (8.6.11/8.6.12) id PAA05008; Thu, 15 Jan 1998 15:07:46 -0800 Date: Thu, 15 Jan 1998 15:07:46 -0800 From: Jonathan Hahn Message-Id: <199801152307.PAA05008@and.com> To: freebsd-questions@FreeBSD.ORG Subject: Booting off TORiSAN CDROM Cc: freebsd-mobile@FreeBSD.ORG Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I recently purchased a Sony VAIO 707C laptop and this is my first laptop FreeBSD install. It has a 14.5X TORiSAN CDROM, which I gather is made by Sanyo. I can't boot off the CDROM drive, nor access it if I boot FreeBSD off floppy. Am I SOL here? I don't see the TORiSAN mentioned in any of the FreeBSD docs. Windows says it's a CDR_U112 CD-ROM and that no driver is installed for it. My question is how to proceed now. I could purchase a PCMCIA SCSI or ethernet controller and boot off a SCSI CDROM or over the net. Will I be able to access either of these cards from a generic kernel? Last resort is a floppy install, or am I overlooking something? I eventually want to purchase both the PCICIA cards, but if I can't use the TORiSAN CDROM, I may reconsider the VAIO laptop (I still have 10 days to return). I love the VAIO otherwise. Is accessing the CDROM on laptops often a problem? I'm wondering if (I'm going to have trouble with the touch pad too.) Thanks in advance, -jonathan hahn ---------------------------------------------------------------------- Jonathan Hahn And Communications hahn@and.com P.S. I did check the FreeBSD archives first, but they are not on line... Wouldn't you know they're gone when I need them. From owner-freebsd-mobile Thu Jan 15 18:11:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA11252 for freebsd-mobile-outgoing; Thu, 15 Jan 1998 18:11:52 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from top.worldcontrol.com (tc1-dialin29.nanospace.com [205.199.198.229]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA11248 for ; Thu, 15 Jan 1998 18:11:48 -0800 (PST) (envelope-from brian@worldcontrol.com) From: brian@worldcontrol.com Received: (qmail 5390 invoked by uid 100); 16 Jan 1998 02:13:35 -0000 Message-ID: <19980115181332.41963@top.worldcontrol.com> Date: Thu, 15 Jan 1998 18:13:32 -0800 To: freebsd-mobile@FreeBSD.ORG Subject: pccard breaking sc0 Mail-Followup-To: freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88.13i Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Running a -current from Sep 23rd everything works great. I tried to upgrade to -current Jan 10th. I installed a kernel and new -r-xr-sr-x bin/kmem 180224 Jan 10 18:17 1998 bin/ps -r--r--r-- bin/bin 13586 Jan 10 18:04 1998 usr/lib/libkvm.a -r--r--r-- bin/bin 17112 Jan 10 18:04 1998 usr/lib/libkvm.so.2.0 -r-xr-xr-x bin/bin 73728 Jan 10 18:05 1998 usr/sbin/pccardc -r-xr-xr-x bin/bin 81920 Jan 10 18:05 1998 usr/sbin/pccardd -r-xr-sr-x bin/kmem 16384 Jan 10 18:17 1998 usr/bin/w for the most part things work however moving the pccards around causes the sc0 console to stop updating. It can still type commands, just can't see anything. If something gets printed related to the insertion or removal of a pccard then everything that wasn't being displayed gets displayed along with the pccard message. Then back to no update. If I start X the display works fine. When I exit back to the standard console it is still frozen (except when pccard messages come out). Any ideas? -- Brian Litzinger From owner-freebsd-mobile Thu Jan 15 18:53:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA14584 for freebsd-mobile-outgoing; Thu, 15 Jan 1998 18:53:11 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from and.com (and.com [204.71.212.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA14521; Thu, 15 Jan 1998 18:52:21 -0800 (PST) (envelope-from hahn@and.com) Received: (from hahn@localhost) by and.com (8.6.11/8.6.12) id SAA06214; Thu, 15 Jan 1998 18:53:38 -0800 Date: Thu, 15 Jan 1998 18:53:38 -0800 From: Jonathan Hahn Message-Id: <199801160253.SAA06214@and.com> To: freebsd-questions@FreeBSD.ORG, hahn@and.com Subject: Re: Booting off TORiSAN CDROM Cc: freebsd-mobile@FreeBSD.ORG Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I solved my own problem, but thanks for the help. I had the floppy drive in the notebook itself, and the CDROM drive in the port replicator. Shame on me. From the FreeBSD boot floppy, you can't access or boot off the CDROM if it's installed in the port replicator. I just got to wits' end and started trying random stuff. -jon > From owner-freebsd-questions@FreeBSD.ORG Thu Jan 15 15:22:33 1998 > Date: Thu, 15 Jan 1998 15:07:46 -0800 > From: Jonathan Hahn > To: freebsd-questions@FreeBSD.ORG > Subject: Booting off TORiSAN CDROM > Cc: freebsd-mobile@FreeBSD.ORG > > I recently purchased a Sony VAIO 707C laptop and this is my first > laptop FreeBSD install. It has a 14.5X TORiSAN CDROM, which I > gather is made by Sanyo. I can't boot off the CDROM drive, nor > access it if I boot FreeBSD off floppy. Am I SOL here? I don't > see the TORiSAN mentioned in any of the FreeBSD docs. > > Windows says it's a CDR_U112 CD-ROM and that no driver is installed > for it. > > My question is how to proceed now. I could purchase a PCMCIA SCSI > or ethernet controller and boot off a SCSI CDROM or over the net. > Will I be able to access either of these cards from a generic > kernel? Last resort is a floppy install, or am I overlooking > something? From owner-freebsd-mobile Thu Jan 15 20:06:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA20784 for freebsd-mobile-outgoing; Thu, 15 Jan 1998 20:06:06 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from bubble.didi.com (granlibakken-250.sierra.net [207.135.219.250]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA20747 for ; Thu, 15 Jan 1998 20:05:56 -0800 (PST) (envelope-from asami@vader.cs.berkeley.edu) Received: (from asami@localhost) by bubble.didi.com (8.8.7/8.8.8) id UAA17337; Thu, 15 Jan 1998 20:05:54 -0800 (PST) (envelope-from asami) Date: Thu, 15 Jan 1998 20:05:54 -0800 (PST) Message-Id: <199801160405.UAA17337@bubble.didi.com> To: mobile@FreeBSD.ORG Subject: 640x480 on TP560E From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Does anyone have a working 640x480 modeline for a ThinkPad 560E with XFree86-3.3.1? I've been using it at 800x600 for a while but tomorrow morning I have to make a presentation with a projector that can only do 640x480. I'd rather not have it try to scale the pixels for me (looks very ugly!). This is what XFree86 says: === XFree86 Version 3.3.1 / X Window System (protocol Version 11, revision 0, vendor release 6300) Release Date: August 4 1997 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (see http://www.XFree86.Org/FAQ) Operating System: FreeBSD 2.2-STABLE i386 Configured drivers: SVGA: server for SVGA graphics adaptors (Patchlevel 0): NV1, STG2000, ET4000, ET4000W32, ET4000W32i, ET4000W32i_rev_b, ET4000W32i_rev_c, ET4000W32p, ET4000W32p_rev_a, ET4000W32p_rev_b, ET4000W32p_rev_c, ET4000W32p_rev_d, ET6000, et3000, pvga1, wd90c00, wd90c10, wd90c30, wd90c24, wd90c31, wd90c33, gvga, ati, sis86c201, sis86c202, sis86c205, tvga8200lx, tvga8800cs, tvga8900b, tvga8900c, tvga8900cl, tvga8900d, tvga9000, tvga9000i, tvga9100b, tvga9200cxr, tgui9320lcd, tgui9400cxi, tgui9420, tgui9420dgi, tgui9430dgi, tgui9440agi, tgui96xx, cyber938x, clgd5420, clgd5422, clgd5424, clgd5426, clgd5428, clgd5429, clgd5430, clgd5434, clgd5436, clgd5446, clgd5480, clgd5462, clgd5464, clgd5465, clgd6205, clgd6215, clgd6225, clgd6235, clgd7541, clgd7542, clgd7543, clgd7548, clgd7555, ncr77c22, ncr77c22e, mga2064w, mga1064sg, mga2164w, oti067, oti077, oti087, oti037c, al2101, ali2228, ali2301, ali2302, ali2308, ali2401, cl6410, cl6412, cl6420, cl6440, video7, ct65520, ct65525, ct65530, ct65535, ct65540, ct65545, ct65546, ct65548, ct65550, ct65554, ct65555, ct68554, ct64200, ct64300, ark1000vl, ark1000pv, ark2000pv, ark2000mt, mx, realtek, AP6422, AT24, s3_virge, generic Using syscons driver with X support (version 2.0) (using VT number 8) XF86Config: /etc/XF86Config (**) stands for supplied, (--) stands for probed/default values (**) XKB: disabled (**) XKB: keymap: "xfree86(us)" (overrides other XKB settings) (**) Mouse: type: PS/2, device: /dev/mouse, baudrate: 1200, 3 button emulation (timeout: 50ms) (**) SVGA: Graphics device ID: "Trident Cyber9382" (**) SVGA: Monitor ID: "IBM ThinkPad 560E" (**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/" (--) SVGA: PCI: Trident TGUI 9660/9680/9682 rev 211, Memory @ 0x08000000, 0x08400000 (--) Trident chipset version: 0xd3 (TGUI96xx) (--) SVGA: BIOS reports Clock Control Bits 0x0 (--) SVGA: Detected a Trident 9382. (--) SVGA: Detected an TFT 800x600 Display (--) SVGA: Revision 66. (--) SVGA: Using Trident programmable clocks (--) SVGA: chipset: tgui96xx (--) SVGA: videoram: 2048k (**) SVGA: Using 16 bpp, Depth 16, Color weight: 565 (--) SVGA: Maximum allowed dot-clock: 135.000 MHz (**) SVGA: Mode "800x600": mode clock = 40.000 (--) SVGA: Virtual resolution set to 800x600 (--) SVGA: Using Linear Frame Buffer at 0x08000000, Size 2MB (--) SVGA: Using Graphics Engine. (--) SVGA: Using 1024 byte display width. (--) SVGA: Using XAA (XFree86 Acceleration Architecture) (--) SVGA: XAA: Solid filled rectangles (--) SVGA: XAA: Screen-to-screen copy (--) SVGA: XAA: CPU to screen color expansion (bitmap, TE/NonTE imagetext) (--) SVGA: XAA: Using 8 128x128 areas for pixmap caching (--) SVGA: XAA: Caching tiles and non-transparent stipples (--) SVGA: XAA: General lines and segments Identity added: /home/asami/.ssh/identity (asami@silvia.hip.berkeley.edu) === And the modeline I'm using: === Modeline "800x600" 40 800 840 968 1056 600 601 605 628 +hsync +vsync === Thanks, Satoshi From owner-freebsd-mobile Fri Jan 16 11:14:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA08994 for freebsd-mobile-outgoing; Fri, 16 Jan 1998 11:14:51 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from jli.com (jli.com [199.2.111.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA08985 for ; Fri, 16 Jan 1998 11:14:43 -0800 (PST) (envelope-from uucp@jli.com) Received: by jli.com (Smail3.1.29.1 #3) id m0xtFRk-0002WZC; Fri, 16 Jan 98 09:20 PST Message-Id: Received: (qmail 3827 invoked from network); 16 Jan 1998 17:20:16 -0000 Received: from softdnserror (127.0.0.1) by softdnserror with SMTP; 16 Jan 1998 17:20:16 -0000 To: mobile@FreeBSD.ORG Subject: Fujitsu 635Tx: interim report From: Bill Trost MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3820.884971185.1@cloud.rain.com> Date: Fri, 16 Jan 1998 09:19:45 -0800 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [Sorry if this is a rerun for some of you, but it looks to me like this message got lost in The Great Disk Failure] The machine arrived about a week ago. It is now running a version of 2.2-stable from October or so. I have a cheap NE2000 clone that I have yet to try under FreeBSD (I seem to have version skew between pccardd and pccard.conf), but it seems to work pretty well otherwise. I did fips myself into never-neverland at one point -- thankfully, my very, very first act after unwrapping the machine was to back it up. Some things I have observed: * In the process of adding an "x" to the end of the machine name, they managed to sneak a NeoMagic video chip in in place of the C&T 65550. Needless to say, XFree86 doesn't work too well, although I did manage to get a working but wacky 640x600 (yup, 640x600) out of XF86_VGA16. 800x600 looked OK, except it was shifted exactly 80 pixels to the right, which makes reading the right edge a wee bit difficult. Nothing seemed to affect the horizontal placement of the image. (Another annoyance, apparently with the entire series, is that there is a single 16550A shared between the serial port and the built-in modem, and the binding has to be changed in firmware. But the IR port has a 16550A of its own...). * I can "warm undock" (undock while suspended) the machine with no problems (the dock contains little more than a floppy and CD-ROM drives). Trying to access the CD-ROM while undock proved catastrophic the one time I tried it, however (all who are surprised, raise their hands (-: ). Oh, and I have not yet tested the joystick port. * I installed (well, restore'd) the entire OS via a hardwired SLIP link. That worked fine, but the first time I tried to use SLIP in multi-user mode, I started getting one silo overflow per packet (a serious throughput hit (-: ). PPP has the same problem. I do not understand why this is a problem -- either I misconfigured the kernel, or the hardware, or something else is wrong. Any tips would be appreciated. From owner-freebsd-mobile Fri Jan 16 11:26:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA09863 for freebsd-mobile-outgoing; Fri, 16 Jan 1998 11:26:26 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA09857 for ; Fri, 16 Jan 1998 11:26:22 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.cybercity.dk [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.7) with ESMTP id UAA00848; Fri, 16 Jan 1998 20:21:19 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Bill Trost cc: mobile@FreeBSD.ORG Subject: Re: Fujitsu 635Tx: interim report In-reply-to: Your message of "Fri, 16 Jan 1998 09:19:45 PST." Date: Fri, 16 Jan 1998 20:21:18 +0100 Message-ID: <846.884978478@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message , Bill Trost writes: > > * In the process of adding an "x" to the end of the machine name, they > managed to sneak a NeoMagic video chip in in place of the C&T 65550. The XIG.com server works fine for me on my HP800C, you can try out their free 10minutes demo version before you hand over the money. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "Drink MONO-tonic, it goes down but it will NEVER come back up!" From owner-freebsd-mobile Fri Jan 16 14:29:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA02176 for freebsd-mobile-outgoing; Fri, 16 Jan 1998 14:29:16 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from tnt.isi.edu (tnt.isi.edu [128.9.128.128]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA02157 for ; Fri, 16 Jan 1998 14:28:48 -0800 (PST) (envelope-from faber@ISI.EDU) Received: from ISI.EDU (vex-s.isi.edu [128.9.192.240]) by tnt.isi.edu (8.8.7/8.8.6) with ESMTP id NAA26113 for ; Fri, 16 Jan 1998 13:57:04 -0800 (PST) Message-Id: <199801162157.NAA26113@tnt.isi.edu> To: freebsd-mobile@FreeBSD.ORG Subject: Anyone try the patches for Multiple 6832's X-Url: http://www.isi.edu/~faber Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 16 Jan 1998 13:57:04 -0800 From: Ted Faber Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- Around 19 Dec 97 I posted a patch the current pcic_p.[ch] to support multiple CL-PD6832 controllers, and to fix a problem with initializing the I/O address. Anyone try it? Any problems? If not: Nate, did it get committed? (will it be committed?) - ---------------------------------------------------------------------- Ted Faber faber@isi.edu USC/ISI Computer Scientist http://www.isi.edu/~faber (310) 822-1511 x190 PGP Key: http://www.isi.edu/~faber/pubkey.asc -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNL/Xrob4eisfQ5rpAQFfIwQAtdH/4sMp9ycZ2QFyJ4eThsI2rzeJ5QMg 3wtYgDGCd/jcMw7qiQP0G0i6yje4wCdjA30QvNec9ljdEp6vwWZJem27EK5a35F0 STRqh4yml8ceiRzcAEJ9pHtqF2L3uNzTC9ntfwJrm2KAJOAHASNmhdcoylzUjWMk QeHSKeek/4g= =O/8g -----END PGP SIGNATURE----- From owner-freebsd-mobile Sat Jan 17 07:37:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA05101 for freebsd-mobile-outgoing; Sat, 17 Jan 1998 07:37:45 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from opus.cts.cwu.edu (skynyrd@opus.cts.cwu.edu [198.104.92.71]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA05097 for ; Sat, 17 Jan 1998 07:37:42 -0800 (PST) (envelope-from skynyrd@opus.cts.cwu.edu) Received: from localhost (skynyrd@localhost) by opus.cts.cwu.edu (8.8.8/8.8.7) with SMTP id HAA23768; Sat, 17 Jan 1998 07:37:37 -0800 (PST) (envelope-from skynyrd@opus.cts.cwu.edu) Date: Sat, 17 Jan 1998 07:37:37 -0800 (PST) From: Chris Timmons To: Bill Trost cc: mobile@FreeBSD.ORG Subject: Re: Fujitsu 635Tx: interim report In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is one of life's great mysteries. At one point Nate found some sort of relationship between this and X. I use a NEC-6030X which behaves most of the time, but it seems that certain cisco console ports encourage the problem more readily than others. For example, I can boot with xdm on vty3, switch to vty0 and run kermit - plug into the dumb, no hw flow control 9600 baud console of a router, and bang, crippling silo overflows (not the innocuous ones I see periodically while using a modem cards.) I can get momentary relief by closing and reopening the kermit session. Other devices I can plug into and run forever without any problem. After thinking the problem had gone away I found a console the other day that this would happen on reliably; perhaps I'll go back with a breakout box and see if there isn't some extraneous signal which might be having an effect. I'm running 2.2+pao circa June 1997. -Chris On Fri, 16 Jan 1998, Bill Trost wrote: > * I installed (well, restore'd) the entire OS via a hardwired SLIP link. > That worked fine, but the first time I tried to use SLIP in multi-user mode, > I started getting one silo overflow per packet (a serious throughput hit > (-: ). PPP has the same problem. I do not understand why this is a problem > -- either I misconfigured the kernel, or the hardware, or something else is > wrong. Any tips would be appreciated. > From owner-freebsd-mobile Sat Jan 17 13:20:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA24154 for freebsd-mobile-outgoing; Sat, 17 Jan 1998 13:20:00 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA24133; Sat, 17 Jan 1998 13:19:50 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id NAA05588; Sat, 17 Jan 1998 13:19:50 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Sat, 17 Jan 1998 13:19:50 -0800 (PST) From: Doug White Reply-To: Doug White To: Jonathan Hahn cc: freebsd-questions@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG Subject: Re: Booting off TORiSAN CDROM In-Reply-To: <199801152307.PAA05008@and.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 15 Jan 1998, Jonathan Hahn wrote: > I recently purchased a Sony VAIO 707C laptop and this is my first > laptop FreeBSD install. It has a 14.5X TORiSAN CDROM, which I > gather is made by Sanyo. Which in turn uses Toshiba parts :-) My Digital HiNote 575 has one underneath a 3.5" floppy drive. > I can't boot off the CDROM drive, nor > access it if I boot FreeBSD off floppy. Am I SOL here? I don't > see the TORiSAN mentioned in any of the FreeBSD docs. It's a generic ATAPI CDROM. As long as it's attached and detected by the BIOS at boot time, it should detect OK. If I remember correctly the VAIO has an external floppy so that should be possible. > My question is how to proceed now. I could purchase a PCMCIA SCSI > or ethernet controller and boot off a SCSI CDROM or over the net. > Will I be able to access either of these cards from a generic > kernel? Last resort is a floppy install, or am I overlooking > something? The cheaper route is to do a net install. The 3Com 3c589 series is well supported in FreeBSD. > I eventually want to purchase both the PCICIA cards, but if I can't > use the TORiSAN CDROM, I may reconsider the VAIO laptop (I still > have 10 days to return). I love the VAIO otherwise. > Is accessing the CDROM on laptops often a problem? I'm wondering > if (I'm going to have trouble with the touch pad too.) It's ATAPI CDs in general; most of the time they work, but sometimes they don't. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major From owner-freebsd-mobile Sat Jan 17 13:25:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA24738 for freebsd-mobile-outgoing; Sat, 17 Jan 1998 13:25:45 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA24724 for ; Sat, 17 Jan 1998 13:25:35 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id OAA23040; Sat, 17 Jan 1998 14:25:20 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id OAA26967; Sat, 17 Jan 1998 14:25:17 -0700 Date: Sat, 17 Jan 1998 14:25:17 -0700 Message-Id: <199801172125.OAA26967@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Doug Ambrisko Cc: mike@smith.net.au (Mike Smith), gdicus@nomadix.com, mobile@FreeBSD.ORG Subject: Re: PC Cards and FreeBSD In-Reply-To: <199801091656.IAA27652@crab.whistle.com> References: <199801091234.XAA00394@word.smith.net.au> <199801091656.IAA27652@crab.whistle.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > | > +pcic: controller I/O address 0x3e0 > | > +Card inserted, slot 0 > | > | The 'card inserted' message is printed as a result of a pcic interrupt, > | so the pcic itself is interrupting OK. So far so good. > > Well, that's not true. The pcic is polled via a timer and does not register > the interrupt with the driver. Actually, the PCIC *is* registered with the driver, but it also polled via a timer. I'd like to remove the polling if an interrupt is registered, but simply haven't committed the (very simple) fix. > I ran into this when I was playing with a > CL-PD6832 eval card in which ISA interrupts did not work (they still don't > but, I've been in crissis mode with other stuff). Apparently windows does > the same type of thing. Apparently the interrupt mechanism of pcic's are > not very useful. Really? I've had no problems on my test boxes... Nate From owner-freebsd-mobile Sat Jan 17 13:29:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA25168 for freebsd-mobile-outgoing; Sat, 17 Jan 1998 13:29:33 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA25115 for ; Sat, 17 Jan 1998 13:28:50 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id OAA23058; Sat, 17 Jan 1998 14:28:44 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id OAA26976; Sat, 17 Jan 1998 14:28:41 -0700 Date: Sat, 17 Jan 1998 14:28:41 -0700 Message-Id: <199801172128.OAA26976@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: John Vincent Cc: mobile@FreeBSD.ORG Subject: Re: help please In-Reply-To: <34B627E5.41C67EA6@teligent.co.uk> References: <34B627E5.41C67EA6@teligent.co.uk> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I am running FreeBSD 2.2.1 on a laptop, and I am > trying to make a 3com 3C589 ethernet card work with > the zp driver. > > I get the following messges from the kernel at boot time: > zp: found card in slot 0 > zp0: not found at 0x300 > > Any ideas please? Read the hardware.hlp file on the boot floppy. It talks about this in great detail.. Nate From owner-freebsd-mobile Sat Jan 17 13:55:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA27025 for freebsd-mobile-outgoing; Sat, 17 Jan 1998 13:55:03 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA27017 for ; Sat, 17 Jan 1998 13:54:57 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id OAA23206; Sat, 17 Jan 1998 14:54:53 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id OAA26988; Sat, 17 Jan 1998 14:54:51 -0700 Date: Sat, 17 Jan 1998 14:54:51 -0700 Message-Id: <199801172154.OAA26988@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Bill Trost Cc: mobile@FreeBSD.ORG Subject: Re: spc0? In-Reply-To: References: X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > The last entry in my pccard.conf.sample for -stable (identified as > $Id: pccard.conf.sample,v 1.4.2.3 1997/11/19 18:53:36 nate Exp $, so > we know who's to blame (-: ) is as follows: That's me. :) > > # REX5535AC, REX5535X SCSI > card "PCMCIA SCSI MBH1040" "01" > config 0x3a "spc0" 11 > > I find no reference to spc in any sample kernel configurations, the > other files in conf/ directories, or in any filename in /sys. I infer > that the driver does not exist in my kernel. The question, then, is > -- is this a driver that has vanished, or that appears in -current but > not -stable? The file was originally imported from the PAO distribution, and the driver was never imported. In order for me to import it, either someone needs to port it from PAO, or lend me a card so I can port the PAO driver to FreeBSD. I won't bring in code that is un-tested from PAO. Nate From owner-freebsd-mobile Sun Jan 18 02:20:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA02154 for freebsd-mobile-outgoing; Sun, 18 Jan 1998 02:20:02 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from hydrogen.nike.efn.org (d182-89.uoregon.edu [128.223.182.89]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA02095 for ; Sun, 18 Jan 1998 02:19:50 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id QAA03195; Sat, 17 Jan 1998 16:27:36 -0800 (PST) Message-ID: <19980117162735.12783@hydrogen.nike.efn.org> Date: Sat, 17 Jan 1998 16:27:35 -0800 From: John-Mark Gurney To: Chris Timmons Cc: Bill Trost , mobile@FreeBSD.ORG Subject: Re: Fujitsu 635Tx: interim report References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: ; from Chris Timmons on Sat, Jan 17, 1998 at 07:37:37AM -0800 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Chris Timmons scribbled this message on Jan 17: > This is one of life's great mysteries. At one point Nate found some sort > of relationship between this and X. I use a NEC-6030X which behaves most > of the time, but it seems that certain cisco console ports encourage the > problem more readily than others. For example, I can boot with xdm on > vty3, switch to vty0 and run kermit - plug into the dumb, no hw flow > control 9600 baud console of a router, and bang, crippling silo overflows > (not the innocuous ones I see periodically while using a modem cards.) I > can get momentary relief by closing and reopening the kermit session. > Other devices I can plug into and run forever without any problem. > > After thinking the problem had gone away I found a console the other day > that this would happen on reliably; perhaps I'll go back with a breakout > box and see if there isn't some extraneous signal which might be having an > effect. I'm running 2.2+pao circa June 1997. check that the device on the other end isn't sending data to fast down the line... the Ricochet modems run the serial clock at about 4% over spec... and I get sio overflows on my 486dx2/50 notebook if I have the port speed set over 19200bps.. the UART is a 16450 which I don't think helps any... :( > On Fri, 16 Jan 1998, Bill Trost wrote: > > > * I installed (well, restore'd) the entire OS via a hardwired SLIP link. > > That worked fine, but the first time I tried to use SLIP in multi-user mode, > > I started getting one silo overflow per packet (a serious throughput hit > > (-: ). PPP has the same problem. I do not understand why this is a problem > > -- either I misconfigured the kernel, or the hardware, or something else is > > wrong. Any tips would be appreciated. > > -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking P.O. Box 5693, 97405 Live in Peace, destroy Micro$oft, support free software, run FreeBSD From owner-freebsd-mobile Sun Jan 18 05:13:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA01028 for freebsd-mobile-outgoing; Sun, 18 Jan 1998 05:13:20 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA01002 for ; Sun, 18 Jan 1998 05:13:05 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id SAA24313; Sat, 17 Jan 1998 18:42:23 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id SAA28794; Sat, 17 Jan 1998 18:42:20 -0700 Date: Sat, 17 Jan 1998 18:42:20 -0700 Message-Id: <199801180142.SAA28794@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Ted Faber Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Anyone try the patches for Multiple 6832's In-Reply-To: <199801162157.NAA26113@tnt.isi.edu> References: <199801162157.NAA26113@tnt.isi.edu> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Around 19 Dec 97 I posted a patch the current pcic_p.[ch] to support > multiple CL-PD6832 controllers, and to fix a problem with initializing > the I/O address. > > Anyone try it? Any problems? If not: Nate, did it get committed? > (will it be committed?) Argh, can you resend it. It got lost due to the holidays and such. Nate > Version: 2.6.2 > > iQCVAwUBNL/Xrob4eisfQ5rpAQFfIwQAtdH/4sMp9ycZ2QFyJ4eThsI2rzeJ5QMg > 3wtYgDGCd/jcMw7qiQP0G0i6yje4wCdjA30QvNec9ljdEp6vwWZJem27EK5a35F0 > STRqh4yml8ceiRzcAEJ9pHtqF2L3uNzTC9ntfwJrm2KAJOAHASNmhdcoylzUjWMk > QeHSKeek/4g= > =O/8g > -----END PGP SIGNATURE----- From owner-freebsd-mobile Sun Jan 18 08:41:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA21863 for freebsd-mobile-outgoing; Sun, 18 Jan 1998 08:41:47 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from jli.com (jli.com [199.2.111.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA21858 for ; Sun, 18 Jan 1998 08:41:42 -0800 (PST) (envelope-from uucp@jli.com) Received: by jli.com (Smail3.1.29.1 #3) id m0xtxbm-0002WdC; Sun, 18 Jan 98 08:30 PST Message-Id: Received: (qmail 14183 invoked from network); 18 Jan 1998 16:29:29 -0000 Received: from softdnserror (127.0.0.1) by softdnserror with SMTP; 18 Jan 1998 16:29:29 -0000 To: John-Mark Gurney , mobile@FreeBSD.ORG Subject: Re: Fujitsu 635Tx: interim report References: <19980117162735.12783@hydrogen.nike.efn.org> In-reply-to: Your message of Sat, 17 Jan 1998 16:27:35 PST. <19980117162735.12783@hydrogen.nike.efn.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <14179.885140938.1@cloud.rain.com> Date: Sun, 18 Jan 1998 08:28:59 -0800 From: Bill Trost Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John-Mark Gurney writes: check that the device on the other end isn't sending data to fast down the line... I have had the same problem with more than one sending device (both my desktop machine and the built-in modem), so I doubt that is the problem. Anyhow, I did the OS build at 115200 baud, you'd think 38400 would work even in multi-user.... On an unrelated note, does anyone know how the port to the Sun 3 is progressing? (-: > On Fri, 16 Jan 1998, Bill Trost wrote: > > * I installed (well, restore'd) the entire OS via a hardwired SLIP link. > > That worked fine, but the first time I tried to use SLIP in multi-user mode, > > I started getting one silo overflow per packet (a serious throughput hit > > (-: ). PPP has the same problem. From owner-freebsd-mobile Sun Jan 18 11:11:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA04639 for freebsd-mobile-outgoing; Sun, 18 Jan 1998 11:11:19 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA04635 for ; Sun, 18 Jan 1998 11:11:15 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id MAA05317; Sun, 18 Jan 1998 12:11:05 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id MAA00697; Sun, 18 Jan 1998 12:11:03 -0700 Date: Sun, 18 Jan 1998 12:11:03 -0700 Message-Id: <199801181911.MAA00697@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Ugo Paternostro Cc: Nate Williams , freebsd-mobile@FreeBSD.ORG Subject: Re: Cirrus Logic PD6729 In-Reply-To: References: <199801172040.NAA26567@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Yes, you're right: I was missing a bit in the command mask: I did enable the IO > but didn't enable the memory. Now I enable both 'em and, guess it, it works. > Well, it almost works... :-( > > What I mean is that the kernel boots fine from a cold boot, but if I reboot > with "shutdown -r now" it panics just after printing "Intel Pentium F00F > detected, installing workaround", where it would normally print "Card inserted, > slot 0". I get a "Fatal trap 12: page fault while in kernel mode" and, when I > reboot, it boots ok once more, and so on (all the even boots end with a panic, > but the odd ones work perfectly). Interesting. Any chance of getting a crash dump to see exactly where the fault is occurring? > It is obviously a driver configuration problem, so I tried to disable > interrupts in the init routine, and just moved the panic just below the "apm: > found APM BIOS version 1.2" message, where it would normally print "PC-Card > Cirrus Logic PD672X (5 mem & 2 I/O windows)". Once more, I get a trap 12, but > this time when I reboot the machine does not see the HD any more: I have to > power cycle it. It's possible that the 'poll' is causing the panic. Try disabling the poll of the PCCARD controller in /sys/pccard/pcic.c. A cut-paste uni-diff is appended below (don't apply it, it won't work). [ Patch deleted ] I'll wait until everything is done until I submi this patch, OK? Nate ---------- Index: pcic.c =================================================================== RCS file: /home/CVS/src/sys/pccard/pcic.c,v retrieving revision 1.23.2.5 diff -u -r1.23.2.5 pcic.c --- pcic.c 1997/11/15 14:11:34 1.23.2.5 +++ pcic.c 1998/01/18 19:08:57 @@ -794,8 +794,8 @@ pcic98_probe_end: } #endif /* PC98 */ - if (validslots) - timeout(pcictimeout,0,hz/2); + if (validslots && pcic_irq == 0) + timeout(pcictimeout, 0, hz/2); return(validslots); } From owner-freebsd-mobile Sun Jan 18 13:17:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA13793 for freebsd-mobile-outgoing; Sun, 18 Jan 1998 13:17:25 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from scruz.net (nic.scruz.net [165.227.1.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA13789 for ; Sun, 18 Jan 1998 13:17:21 -0800 (PST) (envelope-from dkulp@diz.pt.scruznet.com) Received: from diz.pt.scruznet.com (diz.pt.scruznet.com [205.179.107.66]) by scruz.net (8.8.5/1.34) with ESMTP id NAA15628 for ; Sun, 18 Jan 1998 13:17:16 -0800 (PST) Received: (from dkulp@localhost) by diz.pt.scruznet.com (8.8.8/8.7.3) id NAA03451; Sun, 18 Jan 1998 13:17:10 -0800 (PST) Date: Sun, 18 Jan 1998 13:17:10 -0800 (PST) Message-Id: <199801182117.NAA03451@diz.pt.scruznet.com> From: David Kulp MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: mobile@FreeBSD.ORG Subject: Advice on cardbus/pcmcia needed X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've been reading this group off and on as I could find the time, so forgive me if I repeat questions that have already been answered. I'm trying to determine the proper action to take to allow ethernet capability on my Toshiba Portege 650CT. This machine is currently running FBSD 2.2.2-RELEASE (installed over a laplink). The Toshiba 650CT is a CardBus machine (as are many (most?) of the laptops released in the last 18 months). According to Nate Williams on this list: (11/17) PAO includes PCI/CardBus support, but FBSD does not. (12/2) Ted Faber added support for the CL PD6832 (a PCMCIA card) on CardBus machines, and the architectural support for other PCMCIA cards although no others have been added or tested. This new driver support is in FBSD -current. (12/5) PAO includes boot probes for additional devices, and (12/29) has better docs, more drivers, and easier setup. (thanks, Nate and Ted.) An alpha version of PAO (released 12/11/97) is currently available for 2.2.5-RELEASE only. The only mention of CardBus at www.jp.freebsd.org/PAO was in the FAQ which said that some CardBus machines were supported in compatibility mode. The FAQ mentions that the CL PD6832 (same as added by Ted Faber), TI PCI-1130, and TI PCI-1131 chipsets are currently supported. (I can't find any of these devices mentioned in the list of supported hardware for either PAO or FBSD, so I don't know what type of cards these are.) As far as I can tell, the best way to add PAO is to use the boot floppy to upgrade from my 2.2.2 to 2.2.5 and get the latest PAO along with it. If I have a supported ethernet card, then I can do this upgrade over the net. (thanks, Tatsumi.) OK, given this information, is it possible for my Toshiba to currently run (reliably) any Ethernet cards, and if so, what card is recommended, what's the best way to migrate to the necessary OS version, and do I need PAO? If I need PAO, is the most recent alpha release OK, or should I install an older (presumably more stable) version? Thanks! David Kulp (dkulp@neomorphic.com) ps. I'm sorry I can't offer some coding help instead of just begging for assistance, but I'm not a systems programmer and I'm currently swamped. I hope I can reciprocate the assistance at a later date! From owner-freebsd-mobile Sun Jan 18 14:05:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA17886 for freebsd-mobile-outgoing; Sun, 18 Jan 1998 14:05:17 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA17849 for ; Sun, 18 Jan 1998 14:05:01 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id XAA24583; Sun, 18 Jan 1998 23:04:36 +0100 (MET) From: Guido van Rooij Message-Id: <199801182204.XAA24583@gvr.gvr.org> Subject: Re: Cirrus Logic PD6729 In-Reply-To: <199801181911.MAA00697@mt.sri.com> from Nate Williams at "Jan 18, 98 12:11:03 pm" To: nate@mt.sri.com (Nate Williams) Date: Sun, 18 Jan 1998 23:04:36 +0100 (MET) Cc: paterno@dsi.unifi.it, nate@mt.sri.com, freebsd-mobile@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > interrupts in the init routine, and just moved the panic just below the "apm: > > found APM BIOS version 1.2" message, where it would normally print "PC-Card > > Cirrus Logic PD672X (5 mem & 2 I/O windows)". Once more, I get a trap 12, but > > this time when I reboot the machine does not see the HD any more: I have to > > power cycle it. > > It's possible that the 'poll' is causing the panic. Try disabling the > poll of the PCCARD controller in /sys/pccard/pcic.c. A cut-paste > uni-diff is appended below (don't apply it, it won't work). > I never got a panic but sometimes my system freezes after printing out the pcic on irq XX line. I also have the f00f stuff, but it never prints that out. -Guido From owner-freebsd-mobile Sun Jan 18 15:25:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA25410 for freebsd-mobile-outgoing; Sun, 18 Jan 1998 15:25:58 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA25404 for ; Sun, 18 Jan 1998 15:25:48 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id QAA06848; Sun, 18 Jan 1998 16:25:38 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id QAA01485; Sun, 18 Jan 1998 16:25:36 -0700 Date: Sun, 18 Jan 1998 16:25:36 -0700 Message-Id: <199801182325.QAA01485@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Guido van Rooij Cc: nate@mt.sri.com (Nate Williams), paterno@dsi.unifi.it, freebsd-mobile@FreeBSD.ORG Subject: Re: Cirrus Logic PD6729 In-Reply-To: <199801182204.XAA24583@gvr.gvr.org> References: <199801181911.MAA00697@mt.sri.com> <199801182204.XAA24583@gvr.gvr.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > It's possible that the 'poll' is causing the panic. Try disabling the > > poll of the PCCARD controller in /sys/pccard/pcic.c. A cut-paste > > uni-diff is appended below (don't apply it, it won't work). > > I never got a panic but sometimes my system freezes after printing out > the pcic on irq XX line. It's possible that your panic is unrelated, since the last thing that is printed out is the pcic on irq XX line if the pcic stuff is in the kernel. It just happens to be the last thing printed out before the system finishes off it's initialization. Nate From owner-freebsd-mobile Sun Jan 18 15:28:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA25580 for freebsd-mobile-outgoing; Sun, 18 Jan 1998 15:28:43 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from mail2.nai.net (mail2.nai.net [208.133.174.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA25550 for ; Sun, 18 Jan 1998 15:28:18 -0800 (PST) (envelope-from nancib@mail2.nai.net) Received: from AandC1.nai.net (Torrington-Usr1-14.nai.net [208.133.172.23]) by mail2.nai.net (8.8.8/8.8.8) with SMTP id RAA17799 for ; Sun, 18 Jan 1998 17:36:15 -0500 (EST) Message-ID: <34C283AC.7C76@ct2.nai.net> Date: Sun, 18 Jan 1998 17:35:25 -0500 From: Nanci Battistoni Reply-To: nancib@mail2.nai.net X-Mailer: Mozilla 3.01 (Win95; I) MIME-Version: 1.0 To: freebsd-mobile@FreeBSD.ORG Subject: pccard help please Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! I've been trying to get pccard to recognize my Megahertx XJ2288 modem card and I'm stumped. BTW, I have a Digital HiNote CT450 running -stable as of 1-7-98. I have compiled /usr/src/sys/i386/conf/PCCARD kernel and modified /etc/pccard.conf as per /etc/pccard.conf.sample. All this looks quite straight forward. pccardd sees cards inserter and removed but I can't "cu" to the modem. Also, pccardd does not seem to echo pccard.conf insert/remove messages. Any guidance will be much appreciated! Also, how does Tatsumi Hosakawa's PAO relate to the pccard included with stable? Sould I use PAO instead of or in addition to pccard? Thank you for the help. Stan reply to: asv@gaboon.nai.net From owner-freebsd-mobile Sun Jan 18 16:03:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA28213 for freebsd-mobile-outgoing; Sun, 18 Jan 1998 16:03:13 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA28199 for ; Sun, 18 Jan 1998 16:03:02 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id RAA07088; Sun, 18 Jan 1998 17:03:02 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id RAA01678; Sun, 18 Jan 1998 17:03:01 -0700 Date: Sun, 18 Jan 1998 17:03:01 -0700 Message-Id: <199801190003.RAA01678@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: brian@worldcontrol.com Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: pccard breaking sc0 In-Reply-To: <19980115181332.41963@top.worldcontrol.com> References: <19980115181332.41963@top.worldcontrol.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Running a -current from Sep 23rd everything works great. > > I tried to upgrade to -current Jan 10th. ... PHK broke timeouts around that time which is the cause of what you're seeing. Either downgrade to a -current kernel from around Dec. 18th, or wait until the dust settles from both his and John Dyson's VM commits which are still in a state of flux. The instability is completely unrelated to PCCARD. Nate From owner-freebsd-mobile Sun Jan 18 19:36:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA17230 for freebsd-mobile-outgoing; Sun, 18 Jan 1998 19:36:40 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA17217 for ; Sun, 18 Jan 1998 19:36:26 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id NAA00827; Mon, 19 Jan 1998 13:59:16 +1030 (CST) Message-Id: <199801190329.NAA00827@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: David Kulp cc: mobile@FreeBSD.ORG Subject: Re: Advice on cardbus/pcmcia needed In-reply-to: Your message of "Sun, 18 Jan 1998 13:17:10 -0800." <199801182117.NAA03451@diz.pt.scruznet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 19 Jan 1998 13:59:15 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I'm trying to determine the proper action to take to allow ethernet > capability on my Toshiba Portege 650CT. This machine is currently > running FBSD 2.2.2-RELEASE (installed over a laplink). The Toshiba > 650CT is a CardBus machine (as are many (most?) of the laptops > released in the last 18 months). > > According to Nate Williams on this list: > > (11/17) PAO includes PCI/CardBus support, but FBSD does not. FreeBSD has PCI support, but no support for CardBus devices. > (12/2) Ted Faber added support for the CL PD6832 (a PCMCIA card) > on CardBus machines, and the architectural support for other > PCMCIA cards although no others have been added or tested. > This new driver support is in FBSD -current. This is not correct; the PD6832 is a CardBus *controller*, which can also work in PCCARD mode. > (12/5) PAO includes boot probes for additional devices, and > (12/29) has better docs, more drivers, and easier setup. PAO has driver support for extra devices. Whether the docs are better and/or the setup is easier is debatable. > CL PD6832 (same as added by Ted Faber), TI PCI-1130, and TI PCI-1131 > chipsets are currently supported. (I can't find any of these devices > mentioned in the list of supported hardware for either PAO or FBSD, so > I don't know what type of cards these are.) They're not; they're interface chipsets found in laptops. > OK, given this information, is it possible for my Toshiba to currently run > (reliably) any Ethernet cards, and if so, what card is recommended, what's > the best way to migrate to the necessary OS version, and do I need PAO? - FreeBSD-current can't help you unless you can convince your chipset to run in a PCCARD-compatible mode. TSETUP may give you this option. - If you try the PAO code and it recognises your hardware and will support ordinary PCCARD cards on it, I'm more than happy with most of the NE2000 clone PCCARDs around. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-mobile Sun Jan 18 19:57:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA19173 for freebsd-mobile-outgoing; Sun, 18 Jan 1998 19:57:35 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA19164 for ; Sun, 18 Jan 1998 19:57:29 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id OAA00861; Mon, 19 Jan 1998 14:09:43 +1030 (CST) Message-Id: <199801190339.OAA00861@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: nancib@mail2.nai.net cc: freebsd-mobile@FreeBSD.ORG Subject: Re: pccard help please In-reply-to: Your message of "Sun, 18 Jan 1998 17:35:25 CDT." <34C283AC.7C76@ct2.nai.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 19 Jan 1998 14:09:42 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi! > > I've been trying to get pccard to recognize my Megahertx XJ2288 modem > card and I'm stumped. BTW, I have a Digital HiNote CT450 running -stable > as of 1-7-98. I have compiled /usr/src/sys/i386/conf/PCCARD kernel and > modified /etc/pccard.conf as per /etc/pccard.conf.sample. All this looks > quite straight forward. pccardd sees cards inserter and removed but I > can't "cu" to the modem. Also, pccardd does not seem to echo > pccard.conf insert/remove messages. Are you running pccardd? (ie. is it enabled in /etc/rc.conf?) > Also, how does Tatsumi Hosakawa's PAO relate to the pccard included with > stable? Sould I use PAO instead of or in addition to pccard? In your case, it's unlikely that you will need the PAO code, as all you are trying to do is run your modem. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-mobile Sun Jan 18 20:13:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA20457 for freebsd-mobile-outgoing; Sun, 18 Jan 1998 20:13:26 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA20449 for ; Sun, 18 Jan 1998 20:13:15 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id VAA08594; Sun, 18 Jan 1998 21:13:11 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id VAA02279; Sun, 18 Jan 1998 21:13:05 -0700 Date: Sun, 18 Jan 1998 21:13:05 -0700 Message-Id: <199801190413.VAA02279@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Mike Smith Cc: David Kulp , mobile@FreeBSD.ORG Subject: Re: Advice on cardbus/pcmcia needed In-Reply-To: <199801190329.NAA00827@word.smith.net.au> References: <199801182117.NAA03451@diz.pt.scruznet.com> <199801190329.NAA00827@word.smith.net.au> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > According to Nate Williams on this list: > > > > (11/17) PAO includes PCI/CardBus support, but FBSD does not. > > FreeBSD has PCI support, but no support for CardBus devices. Except for CardBus devices running in PCMCIA emulation mode. > > (12/2) Ted Faber added support for the CL PD6832 (a PCMCIA card) > > on CardBus machines, and the architectural support for other > > PCMCIA cards although no others have been added or tested. > > This new driver support is in FBSD -current. > > This is not correct; the PD6832 is a CardBus *controller*, which can > also work in PCCARD mode. All CardBus controllers can work in PCCARD mode. The PAO code does *something* similar to what Ted's code does, but in a bit different manner. I prefer Ted's layout since it's a better separation of functionality than in the PAO code. > > (12/5) PAO includes boot probes for additional devices, and > > (12/29) has better docs, more drivers, and easier setup. > > PAO has driver support for extra devices. Whether the docs are better > and/or the setup is easier is debatable. The boot floppy makes setup easier, and there *is* some documentation that doesn't exist in FreeBSD. Note that some of the PAO manual pages are in-accurate, especially in the pccardc/pccardd area. Those fixes have been ignored by the PAO folks for whatever reasons... > > CL PD6832 (same as added by Ted Faber), TI PCI-1130, and TI PCI-1131 > > chipsets are currently supported. (I can't find any of these devices > > mentioned in the list of supported hardware for either PAO or FBSD, so > > I don't know what type of cards these are.) > > They're not; they're interface chipsets found in laptops. On certain laptops, you can set the BIOS to have the CardBus controller 'emulate' a PCMCIA controller w/out requiring any OS support. I know of a couple of folks running their CardBus machines under FreeBSD w/out PAO or explicity CardBus emulation code. > > OK, given this information, is it possible for my Toshiba to currently run > > (reliably) any Ethernet cards, and if so, what card is recommended, what's > > the best way to migrate to the necessary OS version, and do I need PAO? > > - FreeBSD-current can't help you unless you can convince your chipset > to run in a PCCARD-compatible mode. TSETUP may give you this option. TSETUP? > - If you try the PAO code and it recognises your hardware and will > support ordinary PCCARD cards on it, I'm more than happy with most > of the NE2000 clone PCCARDs around. Chances are that *IF* someone can get PAO to work, then with a little bit of work the code can be ported to the new FreeBSD layer that Ted wrote, thus making it work under FreeBSD as well. Nate From owner-freebsd-mobile Sun Jan 18 21:28:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA26039 for freebsd-mobile-outgoing; Sun, 18 Jan 1998 21:28:02 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA26021 for ; Sun, 18 Jan 1998 21:27:50 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id PAA01191; Mon, 19 Jan 1998 15:23:30 +1030 (CST) Message-Id: <199801190453.PAA01191@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Nate Williams cc: Mike Smith , David Kulp , mobile@FreeBSD.ORG Subject: Re: Advice on cardbus/pcmcia needed In-reply-to: Your message of "Sun, 18 Jan 1998 21:13:05 PDT." <199801190413.VAA02279@mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 19 Jan 1998 15:23:29 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > CL PD6832 (same as added by Ted Faber), TI PCI-1130, and TI PCI-1131 > > > chipsets are currently supported. (I can't find any of these devices > > > mentioned in the list of supported hardware for either PAO or FBSD, so > > > I don't know what type of cards these are.) > > > > They're not; they're interface chipsets found in laptops. > > On certain laptops, you can set the BIOS to have the CardBus controller > 'emulate' a PCMCIA controller w/out requiring any OS support. I know of > a couple of folks running their CardBus machines under FreeBSD w/out PAO > or explicity CardBus emulation code. Like me, for example? The controller in this machine (Toshiba 220CDS) is one such. > > > OK, given this information, is it possible for my Toshiba to currently run > > > (reliably) any Ethernet cards, and if so, what card is recommended, what's > > > the best way to migrate to the necessary OS version, and do I need PAO? > > > > - FreeBSD-current can't help you unless you can convince your chipset > > to run in a PCCARD-compatible mode. TSETUP may give you this option. > > TSETUP? The Toshiba setup program. One major downside to these machines is that there is no setup code in the BIOS. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-mobile Mon Jan 19 02:07:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA13436 for freebsd-mobile-outgoing; Mon, 19 Jan 1998 02:07:38 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA13424 for ; Mon, 19 Jan 1998 02:07:30 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id LAA26913; Mon, 19 Jan 1998 11:07:18 +0100 (MET) From: Guido van Rooij Message-Id: <199801191007.LAA26913@gvr.gvr.org> Subject: Re: Cirrus Logic PD6729 In-Reply-To: <199801182325.QAA01485@mt.sri.com> from Nate Williams at "Jan 18, 98 04:25:36 pm" To: nate@mt.sri.com (Nate Williams) Date: Mon, 19 Jan 1998 11:07:18 +0100 (MET) Cc: nate@mt.sri.com, paterno@dsi.unifi.it, freebsd-mobile@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nate Williams wrote: > > > It's possible that the 'poll' is causing the panic. Try disabling the > > > poll of the PCCARD controller in /sys/pccard/pcic.c. A cut-paste > > > uni-diff is appended below (don't apply it, it won't work). > > > > I never got a panic but sometimes my system freezes after printing out > > the pcic on irq XX line. > > It's possible that your panic is unrelated, since the last thing that is > printed out is the pcic on irq XX line if the pcic stuff is in the > kernel. It just happens to be the last thing printed out before the > system finishes off it's initialization. Mine isn't a panic. Furthermore, it isn't the last think. The f00f message comes later and in my case it never comes. -Guido From owner-freebsd-mobile Mon Jan 19 05:30:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA26598 for freebsd-mobile-outgoing; Mon, 19 Jan 1998 05:30:23 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from king.ki.informatik.uni-frankfurt.de (king.ki.informatik.uni-frankfurt.de [141.2.10.16]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA26573; Mon, 19 Jan 1998 05:30:15 -0800 (PST) (envelope-from marko@king.ki.informatik.uni-frankfurt.de) Received: (from marko@localhost) by king.ki.informatik.uni-frankfurt.de (8.7.1/8.7.1) id RAA09955; Fri, 16 Jan 1998 17:02:01 +0100 (MEZ) Date: Fri, 16 Jan 1998 17:02:01 +0100 (MEZ) Message-Id: <199801161602.RAA09955@king.ki.informatik.uni-frankfurt.de> From: Marko Schuetz MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: freebsd-mobile@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: PCCard ethernet installation X-Mailer: VM 6.34 under Emacs 20.2.1 Reply-To: marko@cs.uni-frankfurt.de Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I boot my laptop with 2.2-980115-SNAP boot.flp. It does not detect my D-Link 650. Neither when I have ed0 active in the kernel nor when I deactivate it. How do I get it right? Marko From owner-freebsd-mobile Mon Jan 19 08:26:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA11996 for freebsd-mobile-outgoing; Mon, 19 Jan 1998 08:26:20 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA11969; Mon, 19 Jan 1998 08:26:09 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id JAA12708; Mon, 19 Jan 1998 09:26:07 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA03545; Mon, 19 Jan 1998 09:26:06 -0700 Date: Mon, 19 Jan 1998 09:26:06 -0700 Message-Id: <199801191626.JAA03545@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: marko@cs.uni-frankfurt.de Cc: freebsd-mobile@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: PCCard ethernet installation In-Reply-To: <199801161602.RAA09955@king.ki.informatik.uni-frankfurt.de> References: <199801161602.RAA09955@king.ki.informatik.uni-frankfurt.de> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I boot my laptop with 2.2-980115-SNAP boot.flp. The stock FreeBSD boot floppy doesn't detect any PCMCIA cards but the 3C589 series and the IBM InfoMover cards. You must use the PAO boot floppy to detect other cards. Nate From owner-freebsd-mobile Mon Jan 19 18:49:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA19050 for freebsd-mobile-outgoing; Mon, 19 Jan 1998 18:49:38 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA19042 for ; Mon, 19 Jan 1998 18:49:30 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id TAA16799; Mon, 19 Jan 1998 19:49:29 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id TAA07257; Mon, 19 Jan 1998 19:49:27 -0700 Date: Mon, 19 Jan 1998 19:49:27 -0700 Message-Id: <199801200249.TAA07257@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Ugo Paternostro Cc: Nate Williams , freebsd-mobile@FreeBSD.ORG Subject: Re: Cirrus Logic PD6729 In-Reply-To: References: <199801181911.MAA00697@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >> reboot, it boots ok once more, and so on (all the even boots end with a > >> panic, > >> but the odd ones work perfectly). > > > > Interesting. Any chance of getting a crash dump to see exactly where > > the fault is occurring? > > How do I obtain that? I wrote down the information that the kernel prints, if > you like I can send them to you. In /etc/rc.conf, add a swap partition which contains enough space to dump out your entire memory to: ############################################################## ### Miscellaneous administrative options ################### ############################################################## ... dumpdev="/dev/sd0s1b" # Device name to crashdump to (if enabled). Which is my primary swap partition and has more than enough space. Then, if the kernel crashes, it dumps out the contents of memory to the swap partition, and at the next reboot it will save this crash dump in /var/dump (you may need to symlink that to a spot that has more disk space). Then, you can run gdb -k kernel.0 vmcore.0 and get a stack trace of the crash. > > It's possible that the 'poll' is causing the panic. Try disabling the > > poll of the PCCARD controller in /sys/pccard/pcic.c. A cut-paste > > uni-diff is appended below (don't apply it, it won't work). ..> > It seems that I (still) have a problem. Don't you think I should disable the > interrupts generated from the chip? Yes, the above comment was implied that both the interrupts *and* the poll should both be disabled. Nate From owner-freebsd-mobile Tue Jan 20 06:56:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA05360 for freebsd-mobile-outgoing; Tue, 20 Jan 1998 06:56:57 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from king.ki.informatik.uni-frankfurt.de (king.ki.informatik.uni-frankfurt.de [141.2.10.16]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA05324 for ; Tue, 20 Jan 1998 06:56:30 -0800 (PST) (envelope-from marko@king.ki.informatik.uni-frankfurt.de) Received: (from marko@localhost) by king.ki.informatik.uni-frankfurt.de (8.7.1/8.7.1) id PAA10903; Tue, 20 Jan 1998 15:27:20 +0100 (MEZ) Date: Tue, 20 Jan 1998 15:27:20 +0100 (MEZ) Message-Id: <199801201427.PAA10903@king.ki.informatik.uni-frankfurt.de> From: Marko Schuetz MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: freebsd-mobile@FreeBSD.ORG Subject: Re: PCCard ethernet installation In-Reply-To: <199801191626.JAA03545@mt.sri.com> References: <199801161602.RAA09955@king.ki.informatik.uni-frankfurt.de> <199801191626.JAA03545@mt.sri.com> X-Mailer: VM 6.34 under Emacs 20.2.1 Reply-To: marko@cs.uni-frankfurt.de Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> "Nate" == Nate Williams writes: >> I boot my laptop with 2.2-980115-SNAP boot.flp. Nate> The stock FreeBSD boot floppy doesn't detect any PCMCIA cards but the Nate> 3C589 series and the IBM InfoMover cards. You must use the PAO boot Nate> floppy to detect other cards. How do I use PAO boot-pao.flp for 2.2.5-RELEASE to install 2.2-980115-SNAP? Marko From owner-freebsd-mobile Tue Jan 20 07:15:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA07550 for freebsd-mobile-outgoing; Tue, 20 Jan 1998 07:15:35 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA07491 for ; Tue, 20 Jan 1998 07:15:13 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id IAA20943; Tue, 20 Jan 1998 08:15:03 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id IAA08724; Tue, 20 Jan 1998 08:15:02 -0700 Date: Tue, 20 Jan 1998 08:15:02 -0700 Message-Id: <199801201515.IAA08724@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: marko@cs.uni-frankfurt.de Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: PCCard ethernet installation In-Reply-To: <199801201427.PAA10903@king.ki.informatik.uni-frankfurt.de> References: <199801161602.RAA09955@king.ki.informatik.uni-frankfurt.de> <199801191626.JAA03545@mt.sri.com> <199801201427.PAA10903@king.ki.informatik.uni-frankfurt.de> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >> I boot my laptop with 2.2-980115-SNAP boot.flp. > Nate> The stock FreeBSD boot floppy doesn't detect any PCMCIA cards but the > Nate> 3C589 series and the IBM InfoMover cards. You must use the PAO boot > Nate> floppy to detect other cards. > > How do I use PAO boot-pao.flp for 2.2.5-RELEASE to install > 2.2-980115-SNAP? In the settings you can tell it which version of FreeBSD you want to install. Nate From owner-freebsd-mobile Tue Jan 20 11:10:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA24983 for freebsd-mobile-outgoing; Tue, 20 Jan 1998 11:10:08 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from tnt.isi.edu (tnt.isi.edu [128.9.128.128]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA24972 for ; Tue, 20 Jan 1998 11:10:03 -0800 (PST) (envelope-from faber@ISI.EDU) Received: from ISI.EDU (vex-s.isi.edu [128.9.192.240]) by tnt.isi.edu (8.8.7/8.8.6) with ESMTP id LAA02847; Tue, 20 Jan 1998 11:09:36 -0800 (PST) Message-Id: <199801201909.LAA02847@tnt.isi.edu> To: Nate Williams cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Anyone try the patches for Multiple 6832's In-reply-to: Your message of "Sat, 17 Jan 1998 18:42:20 MST." <199801180142.SAA28794@mt.sri.com> X-Url: http://www.isi.edu/~faber Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 20 Jan 1998 11:09:36 -0800 From: Ted Faber Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nate Williams wrote: >> Around 19 Dec 97 I posted a patch the current pcic_p.[ch] to support >> multiple CL-PD6832 controllers, and to fix a problem with initializing >> the I/O address. >> >> Anyone try it? Any problems? If not: Nate, did it get committed? >> (will it be committed?) > >Argh, can you resend it. It got lost due to the holidays and such. Here you go, including the comments from HOSOKAWA Tatsumi that I responded to: HOSOKAWA Tatsumi wrote: >In article <199712182355.PAA24716@tnt.isi.edu> >In this case, fortunately this patch will not cause any problem >because CardBus bridge is set to 0x3e0 when I configured BIOS setup, >and even if FreeBSD kernel re-initializes it from 0x3e4 to 0x3e0, >it'll safe if there's no other devices on 0x3e0 and 0x3e1. But if >there's a machine which have ISA PC-card controller at 0x3e0 and >CardBus bridge at 0x3e2, or a machine which have two CardBus bridges, >it'll be the problem. I don't know such machine, but I can't say that >such it does not (and will not) exist in the world. And worse, the pcic.c driver is hardwired to look at 0x3e0, so accessing both will require some modifications to that driver. > >I think it'll be te better way: > >if (the legacy 16bit ioadder is left uninitialized, or initialized > to odd value) { > set it to 0x3e0 + (unit number * 2); >} > >or > >if (the legacy 16bit ioadder is left uninitialized) { > set it to 0x3e0 + (unit number * 2); >} > >sp->index = legacy 16bit ioaddr; Looking for a badly initialized register is difficult. Which value is uninitialized, and which is just unusual? Other than that, I thinks this is a good idea. Here's a patch (to -current) that initializes each found 6832 to the next two ports in order starting at 03e0. Note that this also patches pcic_p.h to reduce the I/O ports mapped from 4 to 2. (A bug that HOSOKAWA-san's description pointed out to me.) I think this will be safe for multiple 6832's, but I can't test it. If you have two please test it and tell me. All of this runs fine on my machine, but give it more of a test before you commit it, because more changed. This should supercede the other patch. *** pcic_p.c.orig Thu Dec 18 15:07:59 1997 --- pcic_p.c Fri Dec 19 18:55:58 1997 *************** *** 37,42 **** --- 37,43 ---- #include #include #include + #include #include #include *************** *** 134,139 **** --- 135,155 ---- { u_long bcr; /* to set interrupts */ u_short io_port; /* the io_port to map this slot on */ + static int num6832 = 0; /* The number of 6832s initialized */ + + /* + * Some BIOS leave the legacy address uninitialized. This + * insures that the PD6832 puts itself where the driver will + * look. We assume that multiple 6832's should be laid out + * sequentially. We only initialize the first socket's legacy port, + * the other is a dummy. + */ + + io_port = PCIC_INDEX_0 + num6832 * CLPD6832_NUM_REGS; + if ( unit == 0 ) { + pci_conf_write(tag, CLPD6832_LEGACY_16BIT_IOADDR, + io_port & ~PCI_MAP_IO); + } /* * I think this should be a call to pci_map_port, but that *************** *** 169,174 **** --- 185,194 ---- bcr = pci_conf_read(tag, CLPD6832_BRIDGE_CONTROL); bcr |= (CLPD6832_BCR_ISA_IRQ|CLPD6832_BCR_MGMT_IRQ_ENA); pci_conf_write(tag, CLPD6832_BRIDGE_CONTROL, bcr); + + /* After initializing 2 sockets, the chip is fully configured */ + + if (unit == 1 ) num6832++; if (bootverbose) printf("CardBus: Legacy PC-card 16bit I/O address [0x%x]\n", *** pcic_p.h.orig Thu Dec 18 14:50:41 1997 --- pcic_p.h Fri Dec 19 18:21:49 1997 *************** *** 49,54 **** #define CLPD6832_BCR_MGMT_IRQ_ENA 0x08000000 #define CLPD6832_BCR_ISA_IRQ 0x00800000 #define CLPD6832_COMMAND_DEFAULTS 0x00000045 ! #define CLPD6832_NUM_REGS 4 /* End of CL-PD6832 defines */ --- 49,54 ---- #define CLPD6832_BCR_MGMT_IRQ_ENA 0x08000000 #define CLPD6832_BCR_ISA_IRQ 0x00800000 #define CLPD6832_COMMAND_DEFAULTS 0x00000045 ! #define CLPD6832_NUM_REGS 2 /* End of CL-PD6832 defines */ From owner-freebsd-mobile Tue Jan 20 13:12:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA05886 for freebsd-mobile-outgoing; Tue, 20 Jan 1998 13:12:46 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA05878 for ; Tue, 20 Jan 1998 13:12:42 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id OAA23071; Tue, 20 Jan 1998 14:12:32 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id OAA09541; Tue, 20 Jan 1998 14:12:28 -0700 Date: Tue, 20 Jan 1998 14:12:28 -0700 Message-Id: <199801202112.OAA09541@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Ted Faber Cc: Nate Williams , freebsd-mobile@FreeBSD.ORG Subject: Re: Anyone try the patches for Multiple 6832's In-Reply-To: <199801201909.LAA02847@tnt.isi.edu> References: <199801180142.SAA28794@mt.sri.com> <199801201909.LAA02847@tnt.isi.edu> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Nate Williams wrote: > >> Around 19 Dec 97 I posted a patch the current pcic_p.[ch] to support > >> multiple CL-PD6832 controllers, and to fix a problem with initializing > >> the I/O address. > >> > >> Anyone try it? Any problems? If not: Nate, did it get committed? > >> (will it be committed?) > > > >Argh, can you resend it. It got lost due to the holidays and such. > > Here you go, including the comments from HOSOKAWA Tatsumi that I > responded to: [ Deleted ] Committed. Thanks, and sorry for the delay in getting to it. Nate From owner-freebsd-mobile Tue Jan 20 13:35:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA07988 for freebsd-mobile-outgoing; Tue, 20 Jan 1998 13:35:40 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from send1b.yahoomail.com (send1b.yahoomail.com [205.180.60.23]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA07951 for ; Tue, 20 Jan 1998 13:35:19 -0800 (PST) (envelope-from k0zm0z@yahoo.com) Message-ID: <19980120213248.26339.rocketmail@send1b.yahoomail.com> Received: from [207.155.93.60] by send1b; Tue, 20 Jan 1998 13:32:48 PST Date: Tue, 20 Jan 1998 13:32:48 -0800 (PST) From: kozmo killah Subject: Re: System To: "Adrian J. Otto" Cc: mobile@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org yes, i have it for $700 US. ---"Adrian J. Otto" wrote: > > The dual ultra. You said in ric it is for sale. > > > > > > > > which system did you want? > > > > > > > > ---"Adrian J. Otto" wrote: > > > > > > Cosmos, > > > > > > Ok, I want to buy. Tell me more details. > > > > > > Adrian > > > > > > > _________________________________________________________ > > DO YOU YAHOO!? > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com From owner-freebsd-mobile Tue Jan 20 15:37:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA18238 for freebsd-mobile-outgoing; Tue, 20 Jan 1998 15:37:16 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from sensi.pu.ru (sensi.pu.ru [194.58.105.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA18227 for ; Tue, 20 Jan 1998 15:37:09 -0800 (PST) (envelope-from vadik@sensi.pu.ru) Received: (from vadik@localhost) by sensi.pu.ru (8.8.8/8.7.3) id CAA13338; Wed, 21 Jan 1998 02:34:11 +0300 (MSK) Message-ID: <19980121023411.08027@sensi.org> Date: Wed, 21 Jan 1998 02:34:11 +0300 From: vadik likholetov To: mobile@FreeBSD.ORG Subject: how do I ... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e X-NCC-RegID: ru.hqlgu Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Good time of the day! I'm using FreeBSD + PAO patches. I'm writing a device driver for a card too :-) I've got a card with such interesting tuples: Tuple #6, code = 0x1b (Configuration entry), length = 15 000: e0 81 79 19 55 5e 16 c5 40 1f 30 ff ff 08 01 Config index = 0x20(default) Interface byte = 0x81 (I/O) wait signal supported Vcc pwr: Nominal operating supply voltage: 5 x 1V Continuous supply current: 5.5 x 100mA Max current average over 1 second: 1.3 x 100mA Card decodes 5 address lines, limited 8/16 Bit I/O I/O address # 1: block length = 0x20 IRQ modes: Level IRQs: 4 5 8 9 10 11 12 13 14 15 Memory descriptor 1 blk length = 0x100 Tuple #7, code = 0x1b (Configuration entry), length = 7 000: 25 08 ca 60 40 02 1f Config index = 0x25 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x240 block length = 0x20 So, the tuple #6 says it is default and it decodes some address lines, io addresses and irqs. But -- there is _no_ default address. Certainly, I can select any non-generic config entry (4 xample, tuple #7), but (I know) dos driver can assign any (from 140 to 340) io address and also other stuff. The question is: how can I make this from my FreeBSD box. Do I need some driver interaction to do this (what interaction?) or just correstly written pccard.conf(I do not found any info on this topic there). -- vadik likholetov From owner-freebsd-mobile Tue Jan 20 15:57:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA19547 for freebsd-mobile-outgoing; Tue, 20 Jan 1998 15:57:23 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from afs.ntc.mita.keio.ac.jp (afs.ntc.mita.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA19523 for ; Tue, 20 Jan 1998 15:57:00 -0800 (PST) (envelope-from hosokawa@ntc.keio.ac.jp) Received: (from hosokawa@localhost) by afs.ntc.mita.keio.ac.jp (8.8.8+2.7Wbeta7/3.6Wbeta6-ntc_mailserver1.03) id IAA17417; Wed, 21 Jan 1998 08:56:03 +0900 (JST) Date: Wed, 21 Jan 1998 08:56:03 +0900 (JST) Message-Id: <199801202356.IAA17417@afs.ntc.mita.keio.ac.jp> To: vadik@sensi.org Cc: mobile@FreeBSD.ORG, hosokawa@ntc.keio.ac.jp Subject: Re: how do I ... In-Reply-To: Your message of "Wed, 21 Jan 1998 02:34:11 +0300". <19980121023411.08027@sensi.org> From: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) X-Mailer: mnews [version 1.20] 1996-12/08(Sun) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <19980121023411.08027@sensi.org> vadik@sensi.org writes: >> So, the tuple #6 says it is default and it decodes some address lines, io >> addresses and irqs. But -- there is _no_ default address. >> Certainly, I can select any non-generic config entry (4 xample, tuple #7), >> but (I know) dos driver can assign any (from 140 to 340) io address >> and also other stuff. >> >> The question is: how can I make this from my FreeBSD box. Do I need >> some driver interaction to do this (what interaction?) or just >> correstly written pccard.conf(I do not found any info on this topic there). pccardd automatically allocates io address from io address pool you specified at "io" line in pccard.conf. -- HOSOKAWA, Tatsumi Network Technology Center Keio University hosokawa@ntc.keio.ac.jp From owner-freebsd-mobile Tue Jan 20 16:29:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA21897 for freebsd-mobile-outgoing; Tue, 20 Jan 1998 16:29:38 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from jli.com (jli.com [199.2.111.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA21885 for ; Tue, 20 Jan 1998 16:29:30 -0800 (PST) (envelope-from uucp@jli.com) Received: by jli.com (Smail3.1.29.1 #3) id m0xuo2I-0002WOC; Tue, 20 Jan 98 16:28 PST Message-Id: Received: (qmail 29953 invoked from network); 21 Jan 1998 00:21:28 -0000 Received: from softdnserror (127.0.0.1) by softdnserror with SMTP; 21 Jan 1998 00:21:28 -0000 To: mobile@FreeBSD.ORG Subject: problems with SVEC NE2000 clone Date: Tue, 20 Jan 1998 16:20:58 -0800 From: Bill Trost Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I got a cheap NE2000 clone from Fry's a few days ago, and have it working OK under Windows $0.95, but I'm having troubles with it under FREEBSD-stable. The kernel sees the card, pccardd recognizes the card's ethernet address, but then bleats about "Resource allocation failure for PMX". Also, when in -v mode, pccardd prints the message "Code 240 not found" twice, and "code Unknown ignored" once (I just noticed that "pccardc dumpcis" does this, too. Hmmm). This happens regardless of what config index I specify for the card -- I've tried 0x1b, 0x20, and 0x0 -- 0x8. Below are various configuration and output files. A minor whine -- I sure wish pccardd gave some indication about *which* resource allocation failed! ==> /home/trost/tmp/pccard.conf <== # Generally available IO ports io 0x240-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) irq 10 11 13 # Available memory slots memory 0xd4000 96k card "PMX " "PE-200" config 0x1b "ed0" 10 ether 0xff0 insert echo Lo! A card! remove echo Bye bye! ==> /home/trost/tmp/dumpcis <== Code 240 not found Code 240 not found code Unknown ignored Configuration data for card in slot 1 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: dc 03 ff Common memory device information: Device number 1, type Function specific, WPS = ON Speed = 100nS, Memory block size = 32Kb, 1 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3 000: 53 01 ff Attribute memory device information: Device number 1, type FLASH EEPROM, WPS = OFF Speed = 150nS, Memory block size = 2Kb, 1 units Tuple #3, code = 0x21 (Functional ID), length = 2 000: 06 03 Network/LAN adapter - POST initialize - Card has ROM Tuple #4, code = 0x15 (Version 1 info), length = 30 000: 04 01 50 4d 58 20 20 20 00 50 45 2d 32 30 30 00 010: 45 54 48 45 52 4e 45 54 00 52 30 31 00 ff Version = 4.1, Manuf = [PMX ],card vers = [PE-200] Addit. info = [ETHERNET],[R01] Tuple #5, code = 0x1a (Configuration map), length = 5 000: 01 01 00 01 01 Reg len = 2, config register addr = 0x100, last config = 0x1 Registers: X------- Tuple #6, code = 0x1b (Configuration entry), length = 25 000: c1 81 78 ca 61 00 03 0f 10 03 0f 30 fc be c9 04 010: 00 00 40 0d 40 40 00 40 0d Config index = 0x1(default) Interface byte = 0x81 (I/O) wait signal supported Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x300 block length = 0x10 I/O address # 2: block start = 0x310 block length = 0x10 IRQ modes: Level IRQs: 4 5 10 11 12 13 14 15 Memory descriptor 1 blk length = 0x400 card addr = 0x000 host addr = 0xd4000 Memory descriptor 2 blk length = 0x4000 card addr = 0x4000 host addr = 0xd4000 Tuple #7, code = 0x0 (Null tuple), length = 9 000: 57 42 20 4c 41 4e 20 20 ff Tuple #8, code = 0x22 (Functional EXT), length = 8 000: 04 00 20 e0 0f 91 84 ff Voice services available: Tuple #9, code = 0x14 (No link), length = 0 Tuple #10, code = 0xff (Terminator), length = 0 2 slots found ==> /home/trost/tmp/dmesg.txt <== Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.5-STABLE #1: Thu Jan 8 10:47:14 PST 1998 x@grey.cloud.rain.com:/mnt/usr/src/sys/compile/VERGA CPU: Pentium (150.00-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x544 Stepping=4 Features=0x8001bf real memory = 16777216 (16384K bytes) avail memory = 14454784 (14116K bytes) Probing for devices on PCI bus 0: chip0 rev 1 on pci0:0 chip1 rev 1 on pci0:1:0 pci0:1:1: Intel Corporation, device=0x7111, class=storage (ide) [no driver assigned] pci0:1:2: Intel Corporation, device=0x7112, class=0x0c, subclass=0x03 int d irq ?? [no driver assigned] chip2 rev 1 on pci0:1:3 chip3 rev 1 int a irq ?? on pci0:19:0 chip4 rev 1 int b irq ?? on pci0:19:1 vga0 rev 2 int a irq ?? on pci0:20 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x280 fe0 not found at 0x300 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0 at 0x60-0x64 irq 12 on motherboard psm0: device ID 0 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 on isa wdc0: unit 0 (wd0): wd0: 2067MB (4233600 sectors), 4200 cyls, 16 heads, 63 S/T, 512 B/S wdc1 not found at 0x170 aic0 not found at 0x340 ep0 not found at 0x300 npx0 flags 0x1 on motherboard npx0: INT 16 interface apm0 on isa apm: found APM BIOS version 1.1 joy0 at 0x201 on isa joy0: joystick sb0 at 0x220 irq 5 drq 1 on isa sb0: opl0 at 0x388 on isa opl0: mpu0 at 0x330 irq 6 drq 0 on isa mpu0: PC-Card VLSI 82C146 (5 mem & 2 I/O windows) pcic: controller irq 9 Initializing PC-card drivers: aic ed ep fe sio Intel Pentium F00F detected, installing workaround ccd0-1: Concatenated disk drivers Card inserted, slot 1 From owner-freebsd-mobile Tue Jan 20 16:37:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA22511 for freebsd-mobile-outgoing; Tue, 20 Jan 1998 16:37:29 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from afs.ntc.mita.keio.ac.jp (afs.ntc.mita.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA22403 for ; Tue, 20 Jan 1998 16:36:15 -0800 (PST) (envelope-from hosokawa@ntc.keio.ac.jp) Received: (from hosokawa@localhost) by afs.ntc.mita.keio.ac.jp (8.8.8+2.7Wbeta7/3.6Wbeta6-ntc_mailserver1.03) id JAA17564; Wed, 21 Jan 1998 09:35:01 +0900 (JST) Date: Wed, 21 Jan 1998 09:35:01 +0900 (JST) Message-Id: <199801210035.JAA17564@afs.ntc.mita.keio.ac.jp> To: trost@cloud.rain.com Cc: mobile@FreeBSD.ORG, hosokawa@ntc.keio.ac.jp Subject: Re: problems with SVEC NE2000 clone In-Reply-To: Your message of "Tue, 20 Jan 1998 16:20:58 -0800". From: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) X-Mailer: mnews [version 1.20] 1996-12/08(Sun) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article trost@cloud.rain.com writes: >> card "PMX " "PE-200" >> config 0x1b "ed0" 10 config 0x1 "ed0" >> ether 0xff0 ether 0x7f0 >> insert echo Lo! A card! >> remove echo Bye bye! hosokawa From owner-freebsd-mobile Tue Jan 20 16:46:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA23203 for freebsd-mobile-outgoing; Tue, 20 Jan 1998 16:46:10 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from afs.ntc.mita.keio.ac.jp (afs.ntc.mita.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA23147 for ; Tue, 20 Jan 1998 16:45:42 -0800 (PST) (envelope-from hosokawa@ntc.keio.ac.jp) Received: (from hosokawa@localhost) by afs.ntc.mita.keio.ac.jp (8.8.8+2.7Wbeta7/3.6Wbeta6-ntc_mailserver1.03) id JAA17609; Wed, 21 Jan 1998 09:40:54 +0900 (JST) Date: Wed, 21 Jan 1998 09:40:54 +0900 (JST) Message-Id: <199801210040.JAA17609@afs.ntc.mita.keio.ac.jp> To: marko@cs.uni-frankfurt.de Cc: freebsd-mobile@FreeBSD.ORG, hosokawa@ntc.keio.ac.jp Subject: Re: PCCard ethernet installation In-Reply-To: Your message of "Tue, 20 Jan 1998 15:27:20 +0100 (MEZ)". <199801201427.PAA10903@king.ki.informatik.uni-frankfurt.de> From: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) X-Mailer: mnews [version 1.20] 1996-12/08(Sun) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <199801201427.PAA10903@king.ki.informatik.uni-frankfurt.de> marko@king.ki.informatik.uni-frankfurt.de writes: >> How do I use PAO boot-pao.flp for 2.2.5-RELEASE to install >> 2.2-980115-SNAP? Install 2.2.5-RELEASE with it and cvsup the latest -STABLE :-). -- HOSOKAWA, Tatsumi Network Technology Center Keio University hosokawa@ntc.keio.ac.jp From owner-freebsd-mobile Tue Jan 20 17:12:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA25210 for freebsd-mobile-outgoing; Tue, 20 Jan 1998 17:12:32 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from jli.com (jli.com [199.2.111.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA25188 for ; Tue, 20 Jan 1998 17:12:18 -0800 (PST) (envelope-from uucp@jli.com) Received: by jli.com (Smail3.1.29.1 #3) id m0xuoWR-0002WOC; Tue, 20 Jan 98 17:00 PST Message-Id: Received: (qmail 465 invoked from network); 21 Jan 1998 00:54:27 -0000 Received: from softdnserror (127.0.0.1) by softdnserror with SMTP; 21 Jan 1998 00:54:27 -0000 To: mobile@FreeBSD.ORG Subject: Re: problems with SVEC NE2000 clone References: <199801210035.JAA17564@afs.ntc.mita.keio.ac.jp> In-reply-to: Your message of Wed, 21 Jan 1998 09:35:01 +0900. <199801210035.JAA17564@afs.ntc.mita.keio.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <452.885344036.1@cloud.rain.com> Date: Tue, 20 Jan 1998 16:53:56 -0800 From: Bill Trost Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org HOSOKAWA Tatsumi writes: In article trost@cloud.rain.com writes: >> card "PMX " "PE-200" >> config 0x1b "ed0" 10 config 0x1 "ed0" No joy, even with the irq present. It was one that I had tried. It seems like 0x1 "should" be the right config entry. I don't understand.... >> ether 0xff0 ether 0x7f0 Why did you recommend this? It doesn't seem to make any difference, but I was wondering why you suggested the change. Thanks for the suggestions. From owner-freebsd-mobile Tue Jan 20 17:21:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA26110 for freebsd-mobile-outgoing; Tue, 20 Jan 1998 17:21:07 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from afs.ntc.mita.keio.ac.jp (afs.ntc.mita.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA26088 for ; Tue, 20 Jan 1998 17:20:54 -0800 (PST) (envelope-from hosokawa@ntc.keio.ac.jp) Received: (from hosokawa@localhost) by afs.ntc.mita.keio.ac.jp (8.8.8+2.7Wbeta7/3.6Wbeta6-ntc_mailserver1.03) id KAA17757; Wed, 21 Jan 1998 10:20:37 +0900 (JST) Date: Wed, 21 Jan 1998 10:20:37 +0900 (JST) Message-Id: <199801210120.KAA17757@afs.ntc.mita.keio.ac.jp> To: trost@cloud.rain.com Cc: mobile@FreeBSD.ORG, hosokawa@ntc.keio.ac.jp Subject: Re: problems with SVEC NE2000 clone In-Reply-To: Your message of "Tue, 20 Jan 1998 16:53:56 -0800". From: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) X-Mailer: mnews [version 1.20] 1996-12/08(Sun) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article trost@cloud.rain.com writes: >> HOSOKAWA Tatsumi writes: >> In article >> trost@cloud.rain.com writes: >> >> >> card "PMX " "PE-200" >> >> config 0x1b "ed0" 10 >> config 0x1 "ed0" >> >> No joy, even with the irq present. It was one that I had tried. It seems like >> 0x1 "should" be the right config entry. I don't understand.... sorry. config 0x1 "ed0" 10 is the correct entry. >> >> ether 0xff0 >> ether 0x7f0 >> >> Why did you recommend this? It doesn't seem to make any difference, but I was >> wondering why you suggested the change. This card seems to be an OEM of PREMAX PMX-200 card, and this card has MAC address at 0x7f0 of attribute memory. -- HOSOKAWA, Tatsumi Network Technology Center Keio University hosokawa@ntc.keio.ac.jp From owner-freebsd-mobile Tue Jan 20 17:27:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA26717 for freebsd-mobile-outgoing; Tue, 20 Jan 1998 17:27:27 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from jli.com (jli.com [199.2.111.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA26700 for ; Tue, 20 Jan 1998 17:27:23 -0800 (PST) (envelope-from uucp@jli.com) Received: by jli.com (Smail3.1.29.1 #3) id m0xuowM-0002WOC; Tue, 20 Jan 98 17:26 PST Message-Id: Received: (qmail 679 invoked from network); 21 Jan 1998 01:26:26 -0000 Received: from softdnserror (127.0.0.1) by softdnserror with SMTP; 21 Jan 1998 01:26:26 -0000 Subject: Re: problems with SVEC NE2000 clone to: mobile@FreeBSD.ORG References: In-reply-to: Your message of Tue, 20 Jan 1998 16:20:58 PST. MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <675.885345956.1@cloud.rain.com> Date: Tue, 20 Jan 1998 17:25:56 -0800 From: Bill Trost Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Bill Trost (that's me!) writes: A minor whine -- I sure wish pccardd gave some indication about *which* resource allocation failed! Well, a gdb trip through pccardd indicates that the problem is occurring in alloc_memory. I tried changing the "memory" line in pccard.conf to what Win 95 appeared to be using for the card (ports 140-15f, irq 10, mem cc000 - ccfff), but that didn't help. )-: From owner-freebsd-mobile Tue Jan 20 17:36:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA27650 for freebsd-mobile-outgoing; Tue, 20 Jan 1998 17:36:35 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA27620 for ; Tue, 20 Jan 1998 17:36:21 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id LAA00413; Wed, 21 Jan 1998 11:57:28 +1030 (CST) Message-Id: <199801210127.LAA00413@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) cc: trost@cloud.rain.com, mobile@FreeBSD.ORG Subject: Re: problems with SVEC NE2000 clone In-reply-to: Your message of "Wed, 21 Jan 1998 10:20:37 +0900." <199801210120.KAA17757@afs.ntc.mita.keio.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 21 Jan 1998 11:57:26 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>> Why did you recommend this? It doesn't seem to make any difference, but I was >>> wondering why you suggested the change. > > This card seems to be an OEM of PREMAX PMX-200 card, and this card has > MAC address at 0x7f0 of attribute memory. The 'ed' driver obtains the MAC address from the 8390 core; I'm not aware of any 8390 clones that don't do this right. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-mobile Tue Jan 20 17:37:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA27715 for freebsd-mobile-outgoing; Tue, 20 Jan 1998 17:37:27 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA27701 for ; Tue, 20 Jan 1998 17:37:17 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id MAA00443; Wed, 21 Jan 1998 12:00:10 +1030 (CST) Message-Id: <199801210130.MAA00443@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Bill Trost cc: mobile@FreeBSD.ORG Subject: Re: problems with SVEC NE2000 clone In-reply-to: Your message of "Tue, 20 Jan 1998 17:25:56 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 21 Jan 1998 12:00:09 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Bill Trost (that's me!) writes: > A minor whine -- I sure wish pccardd gave some indication about *which* > resource allocation failed! > > Well, a gdb trip through pccardd indicates that the problem is occurring in > alloc_memory. I tried changing the "memory" line in pccard.conf to what Win 95 > appeared to be using for the card (ports 140-15f, irq 10, mem cc000 - ccfff), > but that didn't help. )-: NE2000's don't use memory. "Resource allocation failed" means one of: - the resources in the CIS entry you have specifed are not available. This is; - the IRQ you have specified is not listed as free in pccard.conf - the IRQ you have specified is already in use - the port range you have specified is not listed as free... - the port range you have specified is in use - the driver attach routine has failed. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-mobile Tue Jan 20 17:59:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA29127 for freebsd-mobile-outgoing; Tue, 20 Jan 1998 17:59:14 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from afs.ntc.mita.keio.ac.jp (afs.ntc.mita.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA29123 for ; Tue, 20 Jan 1998 17:59:10 -0800 (PST) (envelope-from hosokawa@ntc.keio.ac.jp) Received: (from hosokawa@localhost) by afs.ntc.mita.keio.ac.jp (8.8.8+2.7Wbeta7/3.6Wbeta6-ntc_mailserver1.03) id KAA17910; Wed, 21 Jan 1998 10:56:05 +0900 (JST) Date: Wed, 21 Jan 1998 10:56:05 +0900 (JST) Message-Id: <199801210156.KAA17910@afs.ntc.mita.keio.ac.jp> To: mike@smith.net.au Cc: trost@cloud.rain.com, mobile@FreeBSD.ORG, hosokawa@ntc.keio.ac.jp Subject: Re: problems with SVEC NE2000 clone In-Reply-To: Your message of "Wed, 21 Jan 1998 11:57:26 +1030". <199801210127.LAA00413@word.smith.net.au> From: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) X-Mailer: mnews [version 1.20] 1996-12/08(Sun) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <199801210127.LAA00413@word.smith.net.au> mike@smith.net.au writes: >> The 'ed' driver obtains the MAC address from the 8390 core; I'm not >> aware of any 8390 clones that don't do this right. But some Ethernet PC-cards only returns 00:00:00:00:00:00 for this request. These cards have MAC address on CIS functional ext tupple or attribute memory of the card. I think this is a cost issue, because PC-card always have eeprom memory that can be appropreated to store such ID's. -- HOSOKAWA, Tatsumi Network Technology Center Keio University hosokawa@ntc.keio.ac.jp From owner-freebsd-mobile Wed Jan 21 00:22:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA03442 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 00:22:24 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA03437 for ; Wed, 21 Jan 1998 00:22:13 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id SAA01458; Wed, 21 Jan 1998 18:34:28 +1030 (CST) Message-Id: <199801210804.SAA01458@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: vadik likholetov cc: mobile@FreeBSD.ORG Subject: Re: how do I ... In-reply-to: Your message of "Wed, 21 Jan 1998 02:34:11 +0300." <19980121023411.08027@sensi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 21 Jan 1998 18:34:27 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > So, the tuple #6 says it is default and it decodes some address lines, io > addresses and irqs. But -- there is _no_ default address. That's right. You can put it anywhere you like. > The question is: how can I make this from my FreeBSD box. Do I need > some driver interaction to do this (what interaction?) or just > correstly written pccard.conf(I do not found any info on this topic there). You can poke pccardd to use one of the other configuration indices which have a base address. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-mobile Wed Jan 21 00:22:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA03477 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 00:22:45 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA03466 for ; Wed, 21 Jan 1998 00:22:36 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id SAA01496; Wed, 21 Jan 1998 18:37:29 +1030 (CST) Message-Id: <199801210807.SAA01496@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) cc: mike@smith.net.au, trost@cloud.rain.com, mobile@FreeBSD.ORG Subject: Re: problems with SVEC NE2000 clone In-reply-to: Your message of "Wed, 21 Jan 1998 10:56:05 +0900." <199801210156.KAA17910@afs.ntc.mita.keio.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 21 Jan 1998 18:37:28 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > In article <199801210127.LAA00413@word.smith.net.au> > mike@smith.net.au writes: > > >> The 'ed' driver obtains the MAC address from the 8390 core; I'm not > >> aware of any 8390 clones that don't do this right. > > But some Ethernet PC-cards only returns 00:00:00:00:00:00 for this > request. These cards have MAC address on CIS functional ext tupple or > attribute memory of the card. I think this is a cost issue, because > PC-card always have eeprom memory that can be appropreated to store > such ID's. It's possible (hey, it's certain, I don't expect you to lie) that some cards behave like this, but it's quite surprising. Most 8390 clones load their MAC address from a serial EEPROM; many of the integrated PCCARD 8390's use the same EEPROM that the CIS comes in from. How many cards do you know of that exhibit this behaviour? -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-mobile Wed Jan 21 01:02:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA06148 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 01:02:25 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from afs.ntc.mita.keio.ac.jp (afs.ntc.mita.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA06139 for ; Wed, 21 Jan 1998 01:02:20 -0800 (PST) (envelope-from hosokawa@ntc.keio.ac.jp) Received: (from hosokawa@localhost) by afs.ntc.mita.keio.ac.jp (8.8.8+2.7Wbeta7/3.6Wbeta6-ntc_mailserver1.03) id SAA19878; Wed, 21 Jan 1998 18:02:00 +0900 (JST) Date: Wed, 21 Jan 1998 18:02:00 +0900 (JST) Message-Id: <199801210902.SAA19878@afs.ntc.mita.keio.ac.jp> To: mike@smith.net.au Cc: trost@cloud.rain.com, mobile@FreeBSD.ORG, hosokawa@ntc.keio.ac.jp Subject: Re: problems with SVEC NE2000 clone In-Reply-To: Your message of "Wed, 21 Jan 1998 18:37:28 +1030". <199801210807.SAA01496@word.smith.net.au> From: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) X-Mailer: mnews [version 1.20] 1996-12/08(Sun) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <199801210807.SAA01496@word.smith.net.au> mike@smith.net.au writes: >> Most 8390 clones load their MAC address from a serial EEPROM; many of >> the integrated PCCARD 8390's use the same EEPROM that the CIS comes in >> from. >> >> How many cards do you know of that exhibit this behaviour? I've tested not all of these card whether they return 00:00:00:00:00:00 for the request, but I've tested some of them. At least, all of these cards have MAC addresses (that match the vender prefix) in CIS tupple or attribute memory. Name Address Vendor Prefix ---------------------------------------------------------------------- Accton OEM (based on 2212) 0xff0 00:00:e8 Accton EN2212 0xff0 00:00:e8 Accton OEM (based on 2216) 0x1c0 00:00:e8 Accton EN2216 0x1c0 00:00:e8 ADDTRON EP-210A 0x110 00:40:33 Allied Telesis Ethernet Card 0xff0 00:00:f4 Dayna Communications CommuniCard E 0x110 00:80:19 D-Link DE-650 0x40 00:80:c8 *1 Epson EEN10B 0xff0 00:00:48 IBM CreditCard Ethernet I 0xff0 08:00:5a IBM CreditCard Ethernet II 0xff0 00:04:ac IO DATA PCLA/T 0x1c0 or 0xff0 00:a0:b0 *2 National Semiconductor InfoMover 4100 0xff0 08:00:17 Nihon Unisys, Ltd. JPF0400-LAN 0xff0 00:80:45 Nihon Unisys, Ltd. JPF0400-ETH 0xff0 00:80:45 MACNICA ME1-JEIDA 0xb8 08:00:42 Panasonic CF-VEL211P-B 0xff0 00:80:45 PreMax PE-200 0x7f0 00:20:e0 SCM Ethernet Combo 0xff0 00:20:cb Telecom Device SuperSocket RE450T 0x110 00:e0:98 *1 *1 depend on minor revisions. the newer revisions have MAC address in the chipset. *2 attribute memory address depends on minor revisions. I've forgot the Web page that contains the list of vendor prefix of Ethernet MAC address, so I can't check the vendor code, but I confirmed some of these them formerly. -- HOSOKAWA, Tatsumi Network Technology Center Keio University hosokawa@ntc.keio.ac.jp From owner-freebsd-mobile Wed Jan 21 07:49:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA05008 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 07:49:20 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from word.smith.net.au (ppp7.portal.net.au [202.12.71.107]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA05000 for ; Wed, 21 Jan 1998 07:49:09 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id CAA00650; Thu, 22 Jan 1998 02:11:54 +1030 (CST) Message-Id: <199801211541.CAA00650@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) cc: mike@smith.net.au, trost@cloud.rain.com, mobile@FreeBSD.ORG Subject: Re: problems with SVEC NE2000 clone In-reply-to: Your message of "Wed, 21 Jan 1998 18:02:00 +0900." <199801210902.SAA19878@afs.ntc.mita.keio.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 22 Jan 1998 02:11:54 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > In article <199801210807.SAA01496@word.smith.net.au> > mike@smith.net.au writes: > > >> Most 8390 clones load their MAC address from a serial EEPROM; many of > >> the integrated PCCARD 8390's use the same EEPROM that the CIS comes in > >> from. > >> > >> How many cards do you know of that exhibit this behaviour? > > I've tested not all of these card whether they return > 00:00:00:00:00:00 for the request, but I've tested some of them. At > least, all of these cards have MAC addresses (that match the vender > prefix) in CIS tupple or attribute memory. It's no surprise that the MAC would be in the CIS/attribute memory. It's not good, however, that you make a point specifying where to find the MAC in all cases rather than only those where it's actually needed. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-mobile Wed Jan 21 11:32:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA23647 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 11:32:25 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from bconnex.net (bconnex.net [205.189.200.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA23641 for ; Wed, 21 Jan 1998 11:32:20 -0800 (PST) (envelope-from sigrid@bconnex.net) Received: from fnord2go.bconnex.net (fnord2go.barrie.connex.net [205.189.200.42]) by bconnex.net (8.8.5/8.8.5) with SMTP id OAA07664 for ; Wed, 21 Jan 1998 14:29:21 -0500 (EST) From: "SiGRiD Fenderson, Fnordkiller" To: Subject: PC-CARD woes Date: Wed, 21 Jan 1998 14:30:38 -0500 Message-ID: <01bd26a3$0dd305a0$2ac8bdcd@fnord2go.bconnex.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, I'm running FreeBSD 2.2.5-RELEASE on a Toshiba 440cdt. with a Megahertz CC10BT/2 pccard. I have compiled the kernel to include pccard support, and have PAO installed, but whenever I run pccardd I get the following: driver allocation failed for Megahertz /etc/pccard.conf looks like this: card "Megahertz" "CC10BT/2" config 0x1 "sn0" 4 insert echo "Card inserted" insert echo "Card removed" I have selected the index and irq based on the output of pccardc dumpcis, and have setup my BIOS so that IRQ4 is available. When I boot to FreeBSD though, I notice a line stating that the pccard controller is using IRQ4. My question, I suppose, is what I have I done wrong? Comment/suggestions would be greatly appreciated. T.I.A. Greg From owner-freebsd-mobile Wed Jan 21 12:42:43 1998 Return-Path: Received: (from majordom@localhost) by catfish.freebsd.org (8.8.8/8.8.8) id MAA20604 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 12:42:43 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by catfish.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA20541 for ; Wed, 21 Jan 1998 12:42:42 -0800 (PST) (envelope-from owner-majordomo@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA26378 for ; Wed, 21 Jan 1998 12:42:39 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id NAA01692; Wed, 21 Jan 1998 13:42:31 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id NAA13807; Wed, 21 Jan 1998 13:42:29 -0700 Date: Wed, 21 Jan 1998 13:42:29 -0700 Message-Id: <199801212042.NAA13807@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "SiGRiD Fenderson, Fnordkiller" Cc: "Nate Williams" , Subject: Re: PC-CARD woes In-Reply-To: <01bd26aa$0bd8df20$2ac8bdcd@fnord2go.bconnex.net> References: <01bd26aa$0bd8df20$2ac8bdcd@fnord2go.bconnex.net> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >Umm, since your PCIC controller is using IRQ 4, then the card can't also > >use IRQ 4. Try changing the config line to > > config 0x1 "sn0" ? > > > Did as you suggested, and I now get "resource allocation failure" from pccardd instead of > "driver allocation failure." The irqs are listed as follows in pccard.conf: > > irq 10 11 > > Incidentally, I installed using PAO using this very card, selecting the default configs along the > way, which included selecting "IRQ 10, 11" for the interrupt setting. One thing I haven't > specified in pccard.conf is the memory range - does it need to be stated explicitly? Yes. This is from the sample pccard.conf file that is distributed with FreeBSD. # Generally available IO ports io 0x240-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) irq 3 5 10 11 13 15 # Available memory slots memory 0xd4000 96k So, you've modified it to only use IRQ 10 and 11. However, the io and memory lines should be similar. Nate From owner-freebsd-mobile Wed Jan 21 12:43:12 1998 Return-Path: Received: (from majordom@localhost) by catfish.freebsd.org (8.8.8/8.8.8) id MAA21041 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 12:43:12 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by catfish.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA21032 for ; Wed, 21 Jan 1998 12:43:11 -0800 (PST) (envelope-from owner-majordomo@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA26396 for ; Wed, 21 Jan 1998 12:43:07 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id MAA01354; Wed, 21 Jan 1998 12:40:44 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id MAA13638; Wed, 21 Jan 1998 12:40:43 -0700 Date: Wed, 21 Jan 1998 12:40:43 -0700 Message-Id: <199801211940.MAA13638@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "SiGRiD Fenderson, Fnordkiller" Cc: Subject: Re: PC-CARD woes In-Reply-To: <01bd26a3$0dd305a0$2ac8bdcd@fnord2go.bconnex.net> References: <01bd26a3$0dd305a0$2ac8bdcd@fnord2go.bconnex.net> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > driver allocation failed for Megahertz > > /etc/pccard.conf looks like this: > > card "Megahertz" "CC10BT/2" > config 0x1 "sn0" 4 > insert echo "Card inserted" > insert echo "Card removed" > > I have selected the index and irq based on the output of pccardc dumpcis, and have setup my BIOS > so that IRQ4 is available. When I boot to FreeBSD though, I notice a line stating that the pccard > controller is using IRQ4. My question, I suppose, is what I have I done wrong? Comment/suggestions would be greatly appreciated. Umm, since your PCIC controller is using IRQ 4, then the card can't also use IRQ 4. Try changing the config line to config 0x1 "sn0" ? Which (in FreeBSD anyway) will pick the first available IRQ from /etc/pccard.conf and use it. Nate From owner-freebsd-mobile Wed Jan 21 12:51:24 1998 Return-Path: Received: (from majordom@localhost) by catfish.freebsd.org (8.8.8/8.8.8) id MAA21754 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 12:51:24 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by catfish.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA21749 for ; Wed, 21 Jan 1998 12:51:23 -0800 (PST) (envelope-from owner-majordomo@FreeBSD.ORG) Received: from bconnex.net (bconnex.net [205.189.200.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA26935 for ; Wed, 21 Jan 1998 12:51:20 -0800 (PST) (envelope-from sigrid@bconnex.net) Received: from fnord2go.bconnex.net (fnord2go.barrie.connex.net [205.189.200.42]) by bconnex.net (8.8.5/8.8.5) with SMTP id PAA18051; Wed, 21 Jan 1998 15:19:23 -0500 (EST) From: "SiGRiD Fenderson, Fnordkiller" To: "Nate Williams" Cc: Subject: Re: PC-CARD woes Date: Wed, 21 Jan 1998 15:20:42 -0500 Message-ID: <01bd26aa$0bd8df20$2ac8bdcd@fnord2go.bconnex.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Nate, >Umm, since your PCIC controller is using IRQ 4, then the card can't also >use IRQ 4. Try changing the config line to > config 0x1 "sn0" ? Did as you suggested, and I now get "resource allocation failure" from pccardd instead of "driver allocation failure." The irqs are listed as follows in pccard.conf: irq 10 11 Incidentally, I installed using PAO using this very card, selecting the default configs along the way, which included selecting "IRQ 10, 11" for the interrupt setting. One thing I haven't specified in pccard.conf is the memory range - does it need to be stated explicitly? Greg From owner-freebsd-mobile Wed Jan 21 13:01:56 1998 Return-Path: Received: (from majordom@localhost) by catfish.freebsd.org (8.8.8/8.8.8) id NAA22128 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 13:01:56 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by catfish.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA22119 for ; Wed, 21 Jan 1998 13:01:54 -0800 (PST) (envelope-from owner-majordomo@FreeBSD.ORG) Received: from dns.pinpt.com (dns.pinpt.com [205.179.195.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA27534 for ; Wed, 21 Jan 1998 13:01:51 -0800 (PST) (envelope-from schluntz@clicknet.com) Received: from clicknet.com (gatemaster.pinpt.com [205.179.195.65]) by dns.pinpt.com (8.8.7/8.8.7) with ESMTP id LAA00264 for ; Wed, 21 Jan 1998 11:31:32 -0800 (PST) Message-ID: <34C64E41.FBD9F9DF@clicknet.com> Date: Wed, 21 Jan 1998 11:36:34 -0800 From: "Sean J. Schluntz" Organization: PinPoint Software Corporation X-Mailer: Mozilla 4.02 [en]C-DIAL (WinNT; U) MIME-Version: 1.0 To: freebsd-mobile@FreeBSD.ORG Subject: pccard.conf and the 3C589D, please help. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org (sent this to the wrong list :( Greetings, I can't seem to get my FreeBSD v2.2.5 system to use my network card (3Com 3C589D). I have ep0 in the kernel setup to use the default 0x300 and IRQ 10 (and I used the 3Com utility to make sure those were the settings in the card, which I'm trying to use in slot 1) When FreeBSD is loading I see it initialize the driver: pccard driver ep added ... ep0 not found at 0x300 but when I try inserting the card I get the following error: cardd[42]: driver allocation failed for 3Com Corporation. Below is the entry from my pccard.conf file, I have tried letting pccardd find the IRQ and I've tried defining it. any help would be appreciated! # 3Com Etherlink III 3C589D card "3Com Corporation" "3C589D" # config 0x1 "ep0" ? config 0x300 "ep0" 10 insert echo 3Com Etherlink III rev.D inserted. # insert /etc/pccard_ether ep0 -link0 link1 # insert /etc/pccard_ether ep0 link0 link1 remove echo 3Com Etherlink III rev.D removed # remove /sbin/ifconfig ep0 delete -Sean From owner-freebsd-mobile Wed Jan 21 13:17:57 1998 Return-Path: Received: (from majordom@localhost) by catfish.freebsd.org (8.8.8/8.8.8) id NAA22723 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 13:17:57 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by catfish.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA22716 for ; Wed, 21 Jan 1998 13:17:56 -0800 (PST) (envelope-from owner-majordomo@FreeBSD.ORG) Received: from bconnex.net (bconnex.net [205.189.200.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA28497 for ; Wed, 21 Jan 1998 13:17:53 -0800 (PST) (envelope-from sigrid@bconnex.net) Received: from fnord2go.bconnex.net (fnord2go.barrie.connex.net [205.189.200.42]) by bconnex.net (8.8.5/8.8.5) with SMTP id QAA01297; Wed, 21 Jan 1998 16:14:48 -0500 (EST) From: "SiGRiD Fenderson, Fnordkiller" To: "Nate Williams" Cc: "Nate Williams" , Subject: Re: PC-CARD woes Date: Wed, 21 Jan 1998 16:16:05 -0500 Message-ID: <01bd26b1$c8c59220$2ac8bdcd@fnord2go.bconnex.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> specified in pccard.conf is the memory range - does it need to be stated explicitly? > >Yes. This is from the sample pccard.conf file that is distributed with >FreeBSD. Okay, here's my current config: io 0x240-0x360 irq 10 11 memory 0xd4000 96k I am now back to "driver allocation failed for Megahertz." *boggle* Is there a good FAQ/handbook/manpage that explains the memory addressing? I have tweaked the config stated above with various values including the 0xd0000 address (which worked when I installed FreeBSD) and various sizes, but to no avail. I appreciate your patience, Nate. :) Greg From owner-freebsd-mobile Wed Jan 21 13:20:42 1998 Return-Path: Received: (from majordom@localhost) by catfish.freebsd.org (8.8.8/8.8.8) id NAA22936 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 13:20:42 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by catfish.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA22931; Wed, 21 Jan 1998 13:20:41 -0800 (PST) (envelope-from owner-majordomo@FreeBSD.ORG) Received: from colossus.dyn.ml.org (dburr@206-18-112-236.la.inreach.net [206.18.112.236]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA28693; Wed, 21 Jan 1998 13:20:37 -0800 (PST) (envelope-from dburr@colossus.dyn.ml.org) Received: (from dburr@localhost) by colossus.dyn.ml.org (8.8.7/8.8.7) id NAA15535; Wed, 21 Jan 1998 13:20:23 -0800 (PST) (envelope-from dburr) Message-ID: X-Mailer: XFMail 1.1 [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Date: Wed, 21 Jan 1998 13:11:32 -0800 (PST) Organization: Starfleet Command From: Donald Burr To: FreeBSD Mobile Subject: 2.2.5 PAO disk supporting newer Linksys NE2000 cards? Cc: hosokawa@jp.freebsd.org, FreeBSD Questions Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- I just acquired a Linksys NE2000 compatible PCMCIA ethernet card, because I saw that it was on the PAO "supported cards" list. I am trying to install FreeBSD 2.2.5 with it, off of a Windows 95 FTP server (it has the CD-ROM's contents copied onto it). I grabbed the latest PAO boot disk for 2.2.5 and popped it in. Everything seemed to go ok (the PCMCIA controller was properly detected, etc.) but when the machine went out to initialize the cards, I get the following error: Slot 0: "Linksys(Combo PCMCIA EthernetCard (EC2T))" Unsupported card - From searching around in the mailing list archives, it seems that Linksys decided to change the ID string on some of their cards, and it seems that I have one of these "new" cards. Lucky me. So, I guess, my question is this: IS there a 2.2.5 PAO disk that is set up to recognize this new ID string for the Linksys card? Or is there a way that I can modify my PAO boot floppy to add in this new string? It probably doesn't matter, but just in case, my machine is a Toshiba Satellite 105CS (P75, 40 MB RAM, 810 MB HD, *NO*CDROM* (which is why I need the ethernet card to install). The model of my Linksys card is EC2T. I'd really like to get this going before the new school semester starts, so that I can have a working machine to use in my computer classes. Thanks in advance for any help you can offer! orted card So, I guess, my question is this: IS there a 2.2.5 PAO disk that is set up to recognize this new ID string for the Linksys card? Or is there a way that I can modify my PAO boot floppy to add in this new string? -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNMZmkfjpixuAwagxAQEBvgQAq/t/YsBBR80EyZ0I1MRaKItwee5SbU4M Y4yLCbGtHoFds4GFK2gYWwar8K4QDEnUUTlpj1ZOrTLsXDzxBFzyjGl3aaLNQirJ KXsiMYZQ3JeyemNp5fyvUHCWFzMjw7Otat/+PcpKxWDIy9/bOkMEElbyKgimqX4K 95ArdWCXGKE= =Yq6D -----END PGP SIGNATURE----- From owner-freebsd-mobile Wed Jan 21 13:41:48 1998 Return-Path: Received: (from majordom@localhost) by catfish.freebsd.org (8.8.8/8.8.8) id NAA23766 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 13:41:48 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by catfish.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA23761 for ; Wed, 21 Jan 1998 13:41:46 -0800 (PST) (envelope-from owner-majordomo@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA00237 for ; Wed, 21 Jan 1998 13:41:43 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id OAA02057; Wed, 21 Jan 1998 14:41:43 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id OAA14028; Wed, 21 Jan 1998 14:41:40 -0700 Date: Wed, 21 Jan 1998 14:41:40 -0700 Message-Id: <199801212141.OAA14028@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "SiGRiD Fenderson, Fnordkiller" Cc: "Nate Williams" , Subject: Re: PC-CARD woes In-Reply-To: <01bd26b1$c8c59220$2ac8bdcd@fnord2go.bconnex.net> References: <01bd26b1$c8c59220$2ac8bdcd@fnord2go.bconnex.net> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >> specified in pccard.conf is the memory range - does it need to be stated explicitly? > > > >Yes. This is from the sample pccard.conf file that is distributed with > >FreeBSD. > > > Okay, here's my current config: > > io 0x240-0x360 > irq 10 11 > memory 0xd4000 96k Hmm, that looks fine. > I am now back to "driver allocation failed for Megahertz." *boggle* > Is there a good FAQ/handbook/manpage that explains the memory > addressing? I have tweaked the config stated above with various > values including the 0xd0000 address (which worked when I installed > FreeBSD) and various sizes, but to no avail. At this point, you're best bet is to put some printf's in the actual driver to see what resources it thinks it's getting, and to figure out which resource it doesn't like. (In reality, this sort of information should be made available to the user by default, but it isn't. :( ) Nate From owner-freebsd-mobile Wed Jan 21 13:56:41 1998 Return-Path: Received: (from majordom@localhost) by catfish.freebsd.org (8.8.8/8.8.8) id NAA24320 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 13:56:41 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by catfish.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA24315 for ; Wed, 21 Jan 1998 13:56:40 -0800 (PST) (envelope-from owner-majordomo@FreeBSD.ORG) Received: from bconnex.net (bconnex.net [205.189.200.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA01146 for ; Wed, 21 Jan 1998 13:56:37 -0800 (PST) (envelope-from sigrid@bconnex.net) Received: from fnord2go.bconnex.net (fnord2go.barrie.connex.net [205.189.200.42]) by bconnex.net (8.8.5/8.8.5) with SMTP id QAA11304; Wed, 21 Jan 1998 16:53:26 -0500 (EST) From: "SiGRiD Fenderson, Fnordkiller" To: "Nate Williams" Cc: Subject: Re: PC-CARD woes Date: Wed, 21 Jan 1998 16:54:43 -0500 Message-ID: <01bd26b7$2e83c460$2ac8bdcd@fnord2go.bconnex.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >At this point, you're best bet is to put some printf's in the actual >driver to see what resources it thinks it's getting, and to figure out >which resource it doesn't like. (In reality, this sort of information >should be made available to the user by default, but it isn't. :( ) Eep. That's a little over my head. Even if I do manage to find the right place to through in the printf's, I would likely be unable to interpret the results. :) Still, I love a challenge, and I suppose there's no better way to learn. I'll poke around a bit and see what I can figure out. In the meantime, if anyone else has any suggestions, by all means pass them along. Thanks for the help Greg From owner-freebsd-mobile Wed Jan 21 14:06:01 1998 Return-Path: Received: (from majordom@localhost) by catfish.freebsd.org (8.8.8/8.8.8) id NAA24320 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 13:56:41 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by catfish.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA24315 for ; Wed, 21 Jan 1998 13:56:40 -0800 (PST) (envelope-from owner-majordomo@FreeBSD.ORG) Received: from bconnex.net (bconnex.net [205.189.200.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA01146 for ; Wed, 21 Jan 1998 13:56:37 -0800 (PST) (envelope-from sigrid@bconnex.net) Received: from fnord2go.bconnex.net (fnord2go.barrie.connex.net [205.189.200.42]) by bconnex.net (8.8.5/8.8.5) with SMTP id QAA11304; Wed, 21 Jan 1998 16:53:26 -0500 (EST) From: "SiGRiD Fenderson, Fnordkiller" To: "Nate Williams" Cc: Subject: Re: PC-CARD woes Date: Wed, 21 Jan 1998 16:54:43 -0500 Message-ID: <01bd26b7$2e83c460$2ac8bdcd@fnord2go.bconnex.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >At this point, you're best bet is to put some printf's in the actual >driver to see what resources it thinks it's getting, and to figure out >which resource it doesn't like. (In reality, this sort of information >should be made available to the user by default, but it isn't. :( ) Eep. That's a little over my head. Even if I do manage to find the right place to through in the printf's, I would likely be unable to interpret the results. :) Still, I love a challenge, and I suppose there's no better way to learn. I'll poke around a bit and see what I can figure out. In the meantime, if anyone else has any suggestions, by all means pass them along. Thanks for the help Greg From owner-freebsd-mobile Wed Jan 21 15:03:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA06365 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 15:03:07 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from word.smith.net.au (ppp10.portal.net.au [202.12.71.110]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA06294 for ; Wed, 21 Jan 1998 15:02:44 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id JAA00400; Thu, 22 Jan 1998 09:25:14 +1030 (CST) Message-Id: <199801212255.JAA00400@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "SiGRiD Fenderson, Fnordkiller" cc: "Nate Williams" , freebsd-mobile@FreeBSD.ORG Subject: Re: PC-CARD woes In-reply-to: Your message of "Wed, 21 Jan 1998 16:54:43 CDT." <01bd26b7$2e83c460$2ac8bdcd@fnord2go.bconnex.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 22 Jan 1998 09:25:13 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Eep. That's a little over my head. Even if I do manage to find the > right place to through in the printf's, I would likely be unable to > interpret the results. :) Still, I love a challenge, and I suppose > there's no better way to learn. I'll poke around a bit and see what > I can figure out. In the meantime, if anyone else has any suggestions, > by all means pass them along. Boot with '-c' and say 'flags sio1 0x80'. It's possible that the driver probe is failing. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-mobile Wed Jan 21 15:15:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA08005 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 15:15:21 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA07998 for ; Wed, 21 Jan 1998 15:15:19 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id QAA02643; Wed, 21 Jan 1998 16:15:11 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id QAA14371; Wed, 21 Jan 1998 16:15:04 -0700 Date: Wed, 21 Jan 1998 16:15:04 -0700 Message-Id: <199801212315.QAA14371@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Mike Smith Cc: "SiGRiD Fenderson, Fnordkiller" , "Nate Williams" , freebsd-mobile@FreeBSD.ORG Subject: Re: PC-CARD woes In-Reply-To: <199801212255.JAA00400@word.smith.net.au> References: <01bd26b7$2e83c460$2ac8bdcd@fnord2go.bconnex.net> <199801212255.JAA00400@word.smith.net.au> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Eep. That's a little over my head. Even if I do manage to find the > > right place to through in the printf's, I would likely be unable to > > interpret the results. :) Still, I love a challenge, and I suppose > > there's no better way to learn. I'll poke around a bit and see what > > I can figure out. In the meantime, if anyone else has any suggestions, > > by all means pass them along. > > Boot with '-c' and say 'flags sio1 0x80'. It's possible that the > driver probe is failing. Except that it's not a modem, but an ethernet card. Nate From owner-freebsd-mobile Wed Jan 21 15:24:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA09036 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 15:24:56 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from word.smith.net.au (ppp10.portal.net.au [202.12.71.110]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA09014 for ; Wed, 21 Jan 1998 15:24:50 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id JAA00488; Thu, 22 Jan 1998 09:47:48 +1030 (CST) Message-Id: <199801212317.JAA00488@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Nate Williams cc: Mike Smith , "SiGRiD Fenderson, Fnordkiller" , freebsd-mobile@FreeBSD.ORG Subject: Re: PC-CARD woes In-reply-to: Your message of "Wed, 21 Jan 1998 16:15:04 PDT." <199801212315.QAA14371@mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 22 Jan 1998 09:47:48 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Boot with '-c' and say 'flags sio1 0x80'. It's possible that the > > driver probe is failing. > > Except that it's not a modem, but an ethernet card. Oh sod. I managed to get the "my modem doesn't work" and "my ethernet card doesn't work" threads confused. Brilliant. Sorry about that folks. 8( -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-mobile Wed Jan 21 15:43:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA11905 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 15:43:30 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from afs.ntc.mita.keio.ac.jp (afs.ntc.mita.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA11883 for ; Wed, 21 Jan 1998 15:43:16 -0800 (PST) (envelope-from hosokawa@ntc.keio.ac.jp) Received: (from hosokawa@localhost) by afs.ntc.mita.keio.ac.jp (8.8.8+2.7Wbeta7/3.6Wbeta6-ntc_mailserver1.03) id IAA21246; Thu, 22 Jan 1998 08:42:56 +0900 (JST) Date: Thu, 22 Jan 1998 08:42:56 +0900 (JST) Message-Id: <199801212342.IAA21246@afs.ntc.mita.keio.ac.jp> To: sigrid@bconnex.net Cc: freebsd-mobile@FreeBSD.ORG, hosokawa@ntc.keio.ac.jp Subject: Re: PC-CARD woes In-Reply-To: Your message of "Wed, 21 Jan 1998 14:30:38 -0500". <01bd26a3$0dd305a0$2ac8bdcd@fnord2go.bconnex.net> From: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) X-Mailer: mnews [version 1.20] 1996-12/08(Sun) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <01bd26a3$0dd305a0$2ac8bdcd@fnord2go.bconnex.net> sigrid@bconnex.net writes: >> card "Megahertz" "CC10BT/2" >> config 0x1 "sn0" 4 >> insert echo "Card inserted" >> insert echo "Card removed" pccard.conf of PAO has following entry. Wasn't it work for you? # Megahertz X-Jack Ethernet CC10BT/2 card "Megahertz" "CC10BT/2" config default "sn0" any ether attr2hex 00:00:86 insert echo X-Jack Ethernet inserted insert /etc/pccard_ether $device remove echo X-Jack Ethernet removed remove /etc/pccard_ether_remove $device -- HOSOKAWA, Tatsumi Network Technology Center Keio University hosokawa@ntc.keio.ac.jp From owner-freebsd-mobile Wed Jan 21 17:13:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA22065 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 17:13:40 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from bconnex.net (bconnex.net [205.189.200.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA22053 for ; Wed, 21 Jan 1998 17:13:37 -0800 (PST) (envelope-from sigrid@bconnex.net) Received: from fnord2go.bconnex.net (sigrid@fnord2go.barrie.connex.net [205.189.200.42]) by bconnex.net (8.8.5/8.8.5) with SMTP id TAA15166; Wed, 21 Jan 1998 19:20:12 -0500 (EST) From: "SiGRiD Fenderson, Fnordkiller" To: "HOSOKAWA Tatsumi" Cc: , Subject: Re: PC-CARD woes Date: Wed, 21 Jan 1998 19:21:21 -0500 Message-ID: <01bd26cb$aaaca660$2ac8bdcd@fnord2go.bconnex.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >pccard.conf of PAO has following entry. >Wasn't it work for you? >--snip-- Nope. I got an error stating "No Valid Configuration for Megahertz" until I specified the 0x1 index. sh also complained about pccard.conf containing errors on the "ether" line; I commented it and those errors disappeared. There appears to be no change in behaviour if I specify "any" versus "?" for the IRQ setting. Greg From owner-freebsd-mobile Wed Jan 21 17:46:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA25446 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 17:46:00 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from afs.ntc.mita.keio.ac.jp (afs.ntc.mita.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA25428 for ; Wed, 21 Jan 1998 17:45:58 -0800 (PST) (envelope-from hosokawa@ntc.keio.ac.jp) Received: (from hosokawa@localhost) by afs.ntc.mita.keio.ac.jp (8.8.8+2.7Wbeta7/3.6Wbeta6-ntc_mailserver1.03) id JAA21476; Thu, 22 Jan 1998 09:49:35 +0900 (JST) Date: Thu, 22 Jan 1998 09:49:35 +0900 (JST) Message-Id: <199801220049.JAA21476@afs.ntc.mita.keio.ac.jp> To: sigrid@bconnex.net Cc: freebsd-mobile@FreeBSD.ORG, hosokawa@ntc.keio.ac.jp Subject: Re: PC-CARD woes In-Reply-To: Your message of "Wed, 21 Jan 1998 19:21:21 -0500". <01bd26cb$aaaca660$2ac8bdcd@fnord2go.bconnex.net> From: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) X-Mailer: mnews [version 1.20] 1996-12/08(Sun) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <01bd26cb$aaaca660$2ac8bdcd@fnord2go.bconnex.net> sigrid@bconnex.net writes: >> Nope. I got an error stating "No Valid Configuration for Megahertz" until I >> specified the 0x1 index. sh also complained about pccard.conf containing errors >> on the "ether" line; I commented it and those errors disappeared. Are you using plain pccardd of 2.2.5-RELEASE? To use Megahertz's card, you have to pccardd in PAO package. It decodes MAC address in attr2 tupple and push it into driver. -- HOSOKAWA, Tatsumi Network Technology Center Keio University hosokawa@ntc.keio.ac.jp From owner-freebsd-mobile Wed Jan 21 17:46:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA25522 for freebsd-mobile-outgoing; Wed, 21 Jan 1998 17:46:23 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from afs.ntc.mita.keio.ac.jp (afs.ntc.mita.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA25471 for ; Wed, 21 Jan 1998 17:46:01 -0800 (PST) (envelope-from hosokawa@ntc.keio.ac.jp) Received: (from hosokawa@localhost) by afs.ntc.mita.keio.ac.jp (8.8.8+2.7Wbeta7/3.6Wbeta6-ntc_mailserver1.03) id JAA21385; Thu, 22 Jan 1998 09:17:00 +0900 (JST) Date: Thu, 22 Jan 1998 09:17:00 +0900 (JST) Message-Id: <199801220017.JAA21385@afs.ntc.mita.keio.ac.jp> To: mike@smith.net.au Cc: trost@cloud.rain.com, mobile@FreeBSD.ORG, hosokawa@ntc.keio.ac.jp Subject: Re: problems with SVEC NE2000 clone In-Reply-To: Your message of "Thu, 22 Jan 1998 02:11:54 +1030". <199801211541.CAA00650@word.smith.net.au> From: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) X-Mailer: mnews [version 1.20] 1996-12/08(Sun) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <199801211541.CAA00650@word.smith.net.au> mike@smith.net.au writes: >> It's no surprise that the MAC would be in the CIS/attribute memory. >> It's not good, however, that you make a point specifying where to find >> the MAC in all cases rather than only those where it's actually needed. I wanted to do it automatically, but I have not succeeded to do it. The way I find MAC address in NE2000-compatible PC-card is, (1) Ask the chipset to get MAC address in ordinary way. If it returns the correct value, use it (by not specifying "ether" line). (2) Look at the card, package, manual, and "ipconfig /all" of Windows to find actual MAC address. (or read the source code of Linux's pcmcia-cs ne2000 module :-), and steal the value) (3) Read the result of "pccardc rdattr 0 0 1000" and find the MAC address, or read "pccardc dumpcis" to find functional ext tupple whose size is 6 bytes. (4) If the address found in this output, use it. (5) There's only one exception that all of above processes failed. It has MAC address as hexadecimal ASCII string (whose length is 12) in "attr2" CIS tupple (SURECOM EtherPerfect EP-427 Adapter) like Megahertz's card does. Is there automatic (generic) way to find MAC address in CIS tupple? If it possible, I want to write the code to do that of course. I have not tested the all of the cards I listed in the last mail, but I've tested most of them in this way. So, I believe that, at least, most of them actually need manual setting. -- HOSOKAWA, Tatsumi Network Technology Center Keio University hosokawa@ntc.keio.ac.jp From owner-freebsd-mobile Thu Jan 22 10:12:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA06839 for freebsd-mobile-outgoing; Thu, 22 Jan 1998 10:12:23 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from bconnex.net (bconnex.net [205.189.200.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA06833 for ; Thu, 22 Jan 1998 10:12:21 -0800 (PST) (envelope-from sigrid@bconnex.net) Received: from fnord2go.bconnex.net (fnord2go.barrie.connex.net [205.189.200.42]) by bconnex.net (8.8.5/8.8.5) with SMTP id NAA05864; Thu, 22 Jan 1998 13:08:36 -0500 (EST) From: "SiGRiD Fenderson, Fnordkiller" To: "HOSOKAWA Tatsumi" Cc: Subject: Re: PC-CARD woes Date: Thu, 22 Jan 1998 13:09:56 -0500 Message-ID: <01bd2760$f1b72fe0$2ac8bdcd@fnord2go.bconnex.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>> to reinstall the PAO package now that I have a new kernel, etc? > >No, you don't have to do it. If you install from PAO boot.flp, new >pccardd is installed as /stand/pccardd. /usr/sbin/pccardd remains >untoched. my rc.conf does point to /stand/pccardd, but even when run from the command line I get the same "driver allocation error (device not configured)" error. Just to be sure I copied the sample entry for the megahertz card back into my pccard.conf, but there was no change. Any other ideas? Greg From owner-freebsd-mobile Thu Jan 22 10:55:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA10451 for freebsd-mobile-outgoing; Thu, 22 Jan 1998 10:55:08 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from jli.com (jli.com [199.2.111.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA10446 for ; Thu, 22 Jan 1998 10:55:06 -0800 (PST) (envelope-from uucp@jli.com) Received: by jli.com (Smail3.1.29.1 #3) id m0xvRlL-0002WeC; Thu, 22 Jan 98 10:54 PST Message-Id: Received: (qmail 13183 invoked from network); 22 Jan 1998 18:50:35 -0000 Received: from softdnserror (127.0.0.1) by softdnserror with SMTP; 22 Jan 1998 18:50:35 -0000 To: mobile@FreeBSD.ORG Subject: SVEC NE2000 "clone" doom and gloom MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13178.885495004.1@cloud.rain.com> Date: Thu, 22 Jan 1998 10:50:04 -0800 From: Bill Trost Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I did some beating on pccardd, and saw some problems. As you will recall, the config info had two memory blocks: Memory descriptor 1 blk length = 0x400 card addr = 0x000 host addr = 0xd4000 Memory descriptor 2 blk length = 0x4000 card addr = 0x4000 host addr = 0xd4000 pccardd blindly tries to map the first block. Since the block is less than the memory quanta of MEMUNIT, bit_fns ends up getting asked to allocate a memory region of size zero (ROUNDOFF BUG!), which it can't do. So, I "fix" the bug using gdb, and am rewarded with a hang in the PIOCSDRV ioctl at the end of setup_slot (can't even get DDB to say hello). Using gdb to make pccardd use the other memory region, or to not use the memory regions at all, produces a similar hang. AARGH! Yeah, sure, NE2000-compatible my foot! From owner-freebsd-mobile Thu Jan 22 15:35:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA02227 for freebsd-mobile-outgoing; Thu, 22 Jan 1998 15:35:45 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from afs.ntc.mita.keio.ac.jp (afs.ntc.mita.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA02202 for ; Thu, 22 Jan 1998 15:35:17 -0800 (PST) (envelope-from hosokawa@ntc.keio.ac.jp) Received: (from hosokawa@localhost) by afs.ntc.mita.keio.ac.jp (8.8.8+2.7Wbeta7/3.6Wbeta6-ntc_mailserver1.03) id IAA24063; Fri, 23 Jan 1998 08:34:51 +0900 (JST) Date: Fri, 23 Jan 1998 08:34:51 +0900 (JST) Message-Id: <199801222334.IAA24063@afs.ntc.mita.keio.ac.jp> To: sigrid@bconnex.net Cc: freebsd-mobile@FreeBSD.ORG, hosokawa@ntc.keio.ac.jp Subject: Re: PC-CARD woes In-Reply-To: Your message of "Thu, 22 Jan 1998 13:09:56 -0500". <01bd2760$f1b72fe0$2ac8bdcd@fnord2go.bconnex.net> From: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) X-Mailer: mnews [version 1.20] 1996-12/08(Sun) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <01bd2760$f1b72fe0$2ac8bdcd@fnord2go.bconnex.net> sigrid@bconnex.net writes: >> my rc.conf does point to /stand/pccardd, but even when run from the >> command line I get the same "driver allocation error (device not >> configured)" error. Just to be sure I copied the sample entry for >> the megahertz card back into my pccard.conf, but there was no >> change. Any other ideas? Hmm, please show me the result of ls -l /stand/pccard* /usr/sbin/pccard* -- HOSOKAWA, Tatsumi Network Technology Center Keio University hosokawa@ntc.keio.ac.jp From owner-freebsd-mobile Thu Jan 22 15:50:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA03251 for freebsd-mobile-outgoing; Thu, 22 Jan 1998 15:50:13 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from bconnex.net (bconnex.net [205.189.200.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA03245 for ; Thu, 22 Jan 1998 15:50:10 -0800 (PST) (envelope-from sigrid@bconnex.net) Received: from fnord2go.bconnex.net (fnord2go.barrie.connex.net [205.189.200.42]) by bconnex.net (8.8.5/8.8.5) with SMTP id SAA17548; Thu, 22 Jan 1998 18:47:01 -0500 (EST) From: "SiGRiD Fenderson, Fnordkiller" To: "HOSOKAWA Tatsumi" Cc: , Subject: Re: PC-CARD woes Date: Thu, 22 Jan 1998 18:48:21 -0500 Message-ID: <01bd2790$38842480$2ac8bdcd@fnord2go.bconnex.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Hmm, please show me the result of > >ls -l /stand/pccard* /usr/sbin/pccard* I'd be glad to. root[102]# ls -l /stand/pccard* /usr/sbin/pccard* 22 root bin 128320 Dec 5 22:42 /stand/pccardc 22 root bin 128320 Dec 5 22:42 /stand/pccardd 1 bin bin 69632 Oct 21 10:20 /usr/sbin/pccardc 1 bin bin 77824 Oct 21 10:20 /usr/sbin/pccardd root[103]# From owner-freebsd-mobile Thu Jan 22 16:46:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA07611 for freebsd-mobile-outgoing; Thu, 22 Jan 1998 16:46:30 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA07605 for ; Thu, 22 Jan 1998 16:46:26 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id LAA00343; Fri, 23 Jan 1998 11:09:26 +1030 (CST) Message-Id: <199801230039.LAA00343@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Bill Trost cc: mobile@FreeBSD.ORG Subject: Re: SVEC NE2000 "clone" doom and gloom In-reply-to: Your message of "Thu, 22 Jan 1998 10:50:04 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Jan 1998 11:09:25 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I did some beating on pccardd, and saw some problems. As you will recall, > the config info had two memory blocks: > > Memory descriptor 1 > blk length = 0x400 card addr = 0x000 host addr = 0xd4000 > Memory descriptor 2 > blk length = 0x4000 card addr = 0x4000 host addr = 0xd4000 > > pccardd blindly tries to map the first block. Since the block is less than the > memory quanta of MEMUNIT, bit_fns ends up getting asked to allocate a memory > region of size zero (ROUNDOFF BUG!), which it can't do. Damn, I've seen this one before too. Want to submit a patch? 8) > So, I "fix" the bug using gdb, and am rewarded with a hang in the PIOCSDRV > ioctl at the end of setup_slot (can't even get DDB to say hello). Using gdb to > make pccardd use the other memory region, or to not use the memory regions at > all, produces a similar hang. Ouch. That's almost certainly in allocate_driver(). Dumb question, but do you have the 'ed' driver in your kernel? If you throw a few printf()'s in sys/pccard.c:allocate_driver() you should be able to work out what's going wrong pretty quickly. > AARGH! Yeah, sure, NE2000-compatible my foot! Could be. Nobody said the code was perfect either. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-mobile Thu Jan 22 18:40:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA17142 for freebsd-mobile-outgoing; Thu, 22 Jan 1998 18:40:40 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from send1b.yahoomail.com (send1b.yahoomail.com [205.180.60.23]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA17133 for ; Thu, 22 Jan 1998 18:40:38 -0800 (PST) (envelope-from k0zm0z@yahoo.com) Message-ID: <19980123024018.25886.rocketmail@send1b.yahoomail.com> Received: from [207.155.93.60] by send1b; Thu, 22 Jan 1998 18:40:18 PST Date: Thu, 22 Jan 1998 18:40:18 -0800 (PST) From: kozmo killah Subject: Fwd: Re: System To: mobile@FreeBSD.ORG Cc: mobile@FreeBSD.ORG MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-2138437117-342241519-885523218=:22257" Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ---2138437117-342241519-885523218=:22257 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline note: forwarded msg attached. _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com ---2138437117-342241519-885523218=:22257 Content-Type: message/rfc822 Return-Path: Received: from 1cust28.tnt2.redondo-beach.ca.da.uu.net (HELO aotto.com) (208.252.34.28) by mta-1b.yahoomail.com with SMTP; 20 Jan 1998 20:57:16 -0800 Received: (from aotto@localhost) by aotto.com (8.8.8/8.8.8) id UAA22251 for k0zm0z@yahoo.com; Tue, 20 Jan 1998 20:54:53 -0800 From: aotto@aotto.com Message-Id: <199801210454.UAA22251@aotto.com> Subject: Re: System To: k0zm0z@yahoo.com (kozmo killah) Date: Tue, 20 Jan 1998 20:54:53 -0800 (PST) In-Reply-To: <19980120213248.26339.rocketmail@send1b.yahoomail.com> from "kozmo killah" at Jan 20, 98 01:32:48 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 118 > yes, i have it for $700 US. Ok, tell me how I can buy it. Will you ship with a COD? I'll pay the shipping. Adrian ---2138437117-342241519-885523218=:22257-- From owner-freebsd-mobile Thu Jan 22 18:40:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA17147 for freebsd-mobile-outgoing; Thu, 22 Jan 1998 18:40:40 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from send1b.yahoomail.com (send1b.yahoomail.com [205.180.60.23]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA17136 for ; Thu, 22 Jan 1998 18:40:38 -0800 (PST) (envelope-from k0zm0z@yahoo.com) Message-ID: <19980123024018.25886.rocketmail@send1b.yahoomail.com> Received: from [207.155.93.60] by send1b; Thu, 22 Jan 1998 18:40:18 PST Date: Thu, 22 Jan 1998 18:40:18 -0800 (PST) From: kozmo killah Subject: Fwd: Re: System To: mobile@FreeBSD.ORG Cc: mobile@FreeBSD.ORG MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-2138437117-342241519-885523218=:22257" Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ---2138437117-342241519-885523218=:22257 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline note: forwarded msg attached. _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com ---2138437117-342241519-885523218=:22257 Content-Type: message/rfc822 Return-Path: Received: from 1cust28.tnt2.redondo-beach.ca.da.uu.net (HELO aotto.com) (208.252.34.28) by mta-1b.yahoomail.com with SMTP; 20 Jan 1998 20:57:16 -0800 Received: (from aotto@localhost) by aotto.com (8.8.8/8.8.8) id UAA22251 for k0zm0z@yahoo.com; Tue, 20 Jan 1998 20:54:53 -0800 From: aotto@aotto.com Message-Id: <199801210454.UAA22251@aotto.com> Subject: Re: System To: k0zm0z@yahoo.com (kozmo killah) Date: Tue, 20 Jan 1998 20:54:53 -0800 (PST) In-Reply-To: <19980120213248.26339.rocketmail@send1b.yahoomail.com> from "kozmo killah" at Jan 20, 98 01:32:48 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 118 > yes, i have it for $700 US. Ok, tell me how I can buy it. Will you ship with a COD? I'll pay the shipping. Adrian ---2138437117-342241519-885523218=:22257-- From owner-freebsd-mobile Thu Jan 22 18:40:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA17160 for freebsd-mobile-outgoing; Thu, 22 Jan 1998 18:40:41 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from send1b.yahoomail.com (send1b.yahoomail.com [205.180.60.23]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA17141 for ; Thu, 22 Jan 1998 18:40:39 -0800 (PST) (envelope-from k0zm0z@yahoo.com) Message-ID: <19980123024018.25886.rocketmail@send1b.yahoomail.com> Received: from [207.155.93.60] by send1b; Thu, 22 Jan 1998 18:40:18 PST Date: Thu, 22 Jan 1998 18:40:18 -0800 (PST) From: kozmo killah Subject: Fwd: Re: System To: mobile@FreeBSD.ORG Cc: mobile@FreeBSD.ORG MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-2138437117-342241519-885523218=:22257" Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ---2138437117-342241519-885523218=:22257 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline note: forwarded msg attached. _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com ---2138437117-342241519-885523218=:22257 Content-Type: message/rfc822 Return-Path: Received: from 1cust28.tnt2.redondo-beach.ca.da.uu.net (HELO aotto.com) (208.252.34.28) by mta-1b.yahoomail.com with SMTP; 20 Jan 1998 20:57:16 -0800 Received: (from aotto@localhost) by aotto.com (8.8.8/8.8.8) id UAA22251 for k0zm0z@yahoo.com; Tue, 20 Jan 1998 20:54:53 -0800 From: aotto@aotto.com Message-Id: <199801210454.UAA22251@aotto.com> Subject: Re: System To: k0zm0z@yahoo.com (kozmo killah) Date: Tue, 20 Jan 1998 20:54:53 -0800 (PST) In-Reply-To: <19980120213248.26339.rocketmail@send1b.yahoomail.com> from "kozmo killah" at Jan 20, 98 01:32:48 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 118 > yes, i have it for $700 US. Ok, tell me how I can buy it. Will you ship with a COD? I'll pay the shipping. Adrian ---2138437117-342241519-885523218=:22257-- From owner-freebsd-mobile Thu Jan 22 21:03:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA27926 for freebsd-mobile-outgoing; Thu, 22 Jan 1998 21:03:59 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA27918 for ; Thu, 22 Jan 1998 21:03:56 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id WAA13234; Thu, 22 Jan 1998 22:03:44 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id WAA19888; Thu, 22 Jan 1998 22:03:41 -0700 Date: Thu, 22 Jan 1998 22:03:41 -0700 Message-Id: <199801230503.WAA19888@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Ugo Paternostro Cc: Nate Williams , freebsd-mobile@FreeBSD.ORG Subject: Re: Cirrus Logic PD6729 In-Reply-To: References: <199801211529.IAA12554@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Add the following option to your config file and reconfig/rebuilt your > > kernel. > > > > options DDB #kernel Debugger > > Done: look what happens: > > ugo@chimaera:/usr/src/sys/i386/conf [0]# config CHIMAERA > ugo@chimaera:/usr/src/sys/i386/conf [0]# cd ../../compile/CHIMAERA/ > ugo@chimaera:/usr/src/sys/compile/CHIMAERA [0]# make all install > echo "gcc2_compiled." >symbols.exclude > [...some stuff deleted...] > cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wuninitialized -nostdinc -I- -I. -I../.. -I/usr/include -DNFS > -DFFS -DKERNEL -include opt_global.h ../../ddb/db_command.c > In file included from ../../ddb/db_command.c:47: > /usr/include/setjmp.h:53: conflicting types for `sigjmp_buf' > machine/setjmp.h:43: previous declaration of `sigjmp_buf' > /usr/include/setjmp.h:53: warning: redundant redeclaration of `sigjmp_buf' > in same scope > machine/setjmp.h:43: warning: previous declaration of `sigjmp_buf' > /usr/include/setjmp.h:56: conflicting types for `jmp_buf' > machine/setjmp.h:46: previous declaration of `jmp_buf' > /usr/include/setjmp.h:56: warning: redundant redeclaration of `jmp_buf' in > same scope > machine/setjmp.h:46: warning: previous declaration of `jmp_buf' > *** Error code 1 > > Stop. > > So what? I tried with: > > mv machine/setjmp.h machine/setjmp.h.old > cp /usr/include/machine/setjmp.h machine/setjmp.h > > and it seems to compile. Your includes files are out of date. You need to re-install the include files so that they match your kernel include files. > Isn't there anyone using the DDB? This error is quiet > strange... maybe it is due to the differences between the kernel sources (that > I sup regularly) and the world sources. The error would probably occur even if you didn't compile DDB. Also, did config blow away everything so that the compile was done from scratch? > Anyway, I installed the new kernel, made a shutdown and now I am into the > debugger. Almost any command (but help) prints something like "Panic... blah > blah blah". I tried a trace, but it gives no useful information. What should I > do? Let's start praying? :-) *grin* Read the handbook on kernel debugging, that should be a big help and can give you more information than I can provide in email. > >> Moreover, may the ESS1868 interfere with the process? The pccard driver > > > > Yes, that could be a problem, especially if your BIOS think the sound > > board is at IRQ 5 (which I suspect it does.) > > Should I force the pccard driver to use irq 9 for the chip? You can't force the pccard driver to use irq 9 unfortunately. That's one of the (known) problems with the current setup. :( > P.S.: I have a problem with the anti-spam behavior of sendmail at freebsd.org: > it refuses my messages (as you can see, you cannot read me in the > "mobile" mailing list), because the emails come from the ".home.net" domain > (that's my home network) that is obviously unregistered. I tried to send all > the mails to freebsd.org through a host at my university (using sendmail > maileratable feature), but in this way I don't ever receive back an error > message from sendmail, and still I don't see my messages in the mobile list. > Any suggestion? Send email to freefall the same way you send email to me. :) Nate From owner-freebsd-mobile Fri Jan 23 12:27:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA08899 for freebsd-mobile-outgoing; Fri, 23 Jan 1998 12:27:06 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from dns.pinpt.com (dns.pinpt.com [205.179.195.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA08894 for ; Fri, 23 Jan 1998 12:27:05 -0800 (PST) (envelope-from schluntz@clicknet.com) Received: from clicknet.com (gatemaster.pinpt.com [205.179.195.65]) by dns.pinpt.com (8.8.7/8.8.7) with ESMTP id MAA06277 for ; Fri, 23 Jan 1998 12:20:00 -0800 (PST) Message-ID: <34C8FCA5.3715AAF4@clicknet.com> Date: Fri, 23 Jan 1998 12:25:09 -0800 From: "Sean J. Schluntz" Organization: PinPoint Software Corporation X-Mailer: Mozilla 4.02 [en]C-DIAL (WinNT; U) MIME-Version: 1.0 To: mobile@FreeBSD.ORG Subject: Help with the 3Com 3C589D please. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Can someone who has gotten the 3C589D PCCard running under FreeBSD v2.2.5 please eMail me what they put in the kernel and in the pccard.conf file to make it work? I'm having trouble getting it to work I keep getting a driver allocation failed. Thanks -Sean From owner-freebsd-mobile Fri Jan 23 13:28:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA16497 for freebsd-mobile-outgoing; Fri, 23 Jan 1998 13:28:33 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from jli.com (jli.com [199.2.111.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA16491 for ; Fri, 23 Jan 1998 13:28:31 -0800 (PST) (envelope-from cloud.rain.com!trost@jli.com) Received: by jli.com (Smail3.1.29.1 #3) id m0xvqdr-0002TEC; Fri, 23 Jan 98 13:27 PST Message-Id: Received: (qmail 21589 invoked from network); 23 Jan 1998 21:27:23 -0000 Received: from softdnserror (127.0.0.1) by softdnserror with SMTP; 23 Jan 1998 21:27:23 -0000 To: mobile@FreeBSD.ORG Subject: Re: SVEC NE2000 "clone" doom and gloom References: <199801230039.LAA00343@word.smith.net.au> In-reply-to: Your message of Fri, 23 Jan 1998 11:09:25 +1030. <199801230039.LAA00343@word.smith.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <21584.885590812.1@cloud.rain.com> Date: Fri, 23 Jan 1998 13:26:52 -0800 From: Bill Trost Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike Smith writes: > Since the block is less than the memory quanta of MEMUNIT, bit_fns ends > up getting asked to allocate a memory region of size zero (ROUNDOFF > BUG!), which it can't do. Damn, I've seen this one before too. Want to submit a patch? 8) It should be trivial -- but for some reason, "make" in usr.sbin/pccard/pccardd fails, so I am not going to bother unless I get the rest of this sorted out. Dumb question, but do you have the 'ed' driver in your kernel? Never hurts to check. Yes, it's there. If you throw a few printf()'s in sys/pccard.c:allocate_driver() you should be able to work out what's going wrong pretty quickly. OK, allocate_driver hangs in drv->enable (the whole system hangs inside the splhigh(), surprise). That is bound to edinit, which hangs in ed_probe_pccard, which hangs in ed_probe_WD80x3, which hangs computing the ether address PROM checksum(???). It doesn't even manage to read the first byte. What's the TOSH_ETHER in if_ed.c for? If I define that, then I don't get the hang -- instead, the checksum checks fail, and pccardd says that the driver allocation fails (and I got an "unfiended interrupt (0)" once, too). The probe does not believe the card is an NE2000. All these experiments were run with pccardd coerced into using the second, larger memory region. Using the smaller or no memory region with TOSH_ETHER gets similar results. > AARGH! Yeah, sure, NE2000-compatible my foot! Could be. Nobody said the code was perfect either. You mean there might be a *bug*? In the *kernel*? Naaah.... (-: However, the way things are going, I am becoming more and more convinced that the vendor botched it (at best). From owner-freebsd-mobile Fri Jan 23 15:29:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA27944 for freebsd-mobile-outgoing; Fri, 23 Jan 1998 15:29:57 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from sunra.csci.unt.edu (sunra.csci.unt.edu [129.120.3.43]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA27934 for ; Fri, 23 Jan 1998 15:29:52 -0800 (PST) (envelope-from louie@sunra.csci.unt.edu) Received: (from louie@localhost) by sunra.csci.unt.edu (8.8.7/8.8.7) id RAA05891 for freebsd-mobile@FreeBSD.ORG; Fri, 23 Jan 1998 17:28:10 -0600 (CST) (envelope-from louie) Date: Fri, 23 Jan 1998 17:28:10 -0600 (CST) From: Louie Message-Id: <199801232328.RAA05891@sunra.csci.unt.edu> To: freebsd-mobile@FreeBSD.ORG Subject: Libretto 70CT problems Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I recently bought a Toshiba Libretto 70CT and installed 2.2.5-RELEASE on it. I've been able to get most everything working (PLIP, X and PPP using a PCMCIA modem) but I am having trouble with a few things: 1) Sound doesn't quite work. I can play midi files with playmidi but I can't play .au files. When I cat a .au file to /dev/audio I get "/dev/audio: No space left on device". Here's my sound card configuration and /dev entries: controller snd0 device sb0 at isa? port 0x220 irq 5 conflicts drq 0 vector sbintr device opl0 at isa? port 0x388 lrwxrwxrwx 1 root wheel 6 Jan 21 20:56 audio@ -> audio0 crw-rw-rw- 1 root wheel 30, 4 Jan 21 21:10 audio0 Would installing Luigi's sound drivers help? 2) When I attach the port expander I can't get getty to give a login prompt on ttyd0. My /etc/ttys file looks like: ttyd0 "/usr/libexec/getty std.9600" unknown on secure Things are kind of working because if I run kermit on the Libretto and ProComm Plus on a PC connected with a null modem cable I can type back and forth between the two. I just can't seem to get the Libretto to produce a login prompt even though the process is there: # ps -ax | grep ttyd0 152 ?? I 0:00.02 /usr/libexec/getty std.9600 ttyd0 3) What's involved in getting the IrDA port to work? (I haven't tried yet.) Does it just look like another serial port or is there more to it? 4) Any word on floppy support? I saw in the mail archives that someone was going to work on it. Any progress? Even with these problems I *really* like my Libretto. Please CC me on replies since I'm not yet subscribed to the list. Thanks, Louie From owner-freebsd-mobile Fri Jan 23 15:50:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA29329 for freebsd-mobile-outgoing; Fri, 23 Jan 1998 15:50:02 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from send1b.yahoomail.com (send1b.yahoomail.com [205.180.60.23]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA29278 for ; Fri, 23 Jan 1998 15:50:00 -0800 (PST) (envelope-from k0zm0z@yahoo.com) Message-ID: <19980123234940.12817.rocketmail@send1b.yahoomail.com> Received: from [207.155.93.60] by send1b; Fri, 23 Jan 1998 15:49:40 PST Date: Fri, 23 Jan 1998 15:49:40 -0800 (PST) From: kozmo killah Subject: Re: Fwd: Re: System To: Jean-Jacques.Dhenin@fnet.fr Cc: wu-ftpd@wugate.wustl.edu MIME-Version: 1.0 Content-Type: text/html; charset=us-ascii Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org merde! ---Jean-Jacques.Dhenin@fnet.fr wrote: > > Ca ne va pas ? > >
DO YOU YAHOO!?
Get your free @yahoo.com address at Yahoo! Mail.
From owner-freebsd-mobile Fri Jan 23 15:55:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA29754 for freebsd-mobile-outgoing; Fri, 23 Jan 1998 15:55:23 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA29689 for ; Fri, 23 Jan 1998 15:54:29 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id QAA20316; Fri, 23 Jan 1998 16:54:17 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id QAA23233; Fri, 23 Jan 1998 16:54:15 -0700 Date: Fri, 23 Jan 1998 16:54:15 -0700 Message-Id: <199801232354.QAA23233@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Louie Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Libretto 70CT problems In-Reply-To: <199801232328.RAA05891@sunra.csci.unt.edu> References: <199801232328.RAA05891@sunra.csci.unt.edu> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Louie writes: > I recently bought a Toshiba Libretto 70CT and installed 2.2.5-RELEASE > on it. I've been able to get most everything working (PLIP, X and PPP > using a PCMCIA modem) but I am having trouble with a few things: > [ I have no idea on sound ] > 2) When I attach the port expander I can't get getty to give a login > prompt on ttyd0. My /etc/ttys file looks like: > > ttyd0 "/usr/libexec/getty std.9600" unknown on secure > > Things are kind of working because if I run kermit on the Libretto > and ProComm Plus on a PC connected with a null modem cable I can type > back and forth between the two. I just can't seem to get the Libretto > to produce a login prompt even though the process is there: Have you messed with /etc/rc.serial? Nate > 3) What's involved in getting the IrDA port to work? (I haven't > tried yet.) Does it just look like another serial port or is there > more to it? There's more to it. Apparently it doesn't 'just work', and requires non-existant patches to have it do anything useful. > 4) Any word on floppy support? I saw in the mail archives that > someone was going to work on it. Any progress? Warner Losh would know more as he owns one. Nate From owner-freebsd-mobile Fri Jan 23 18:10:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA15138 for freebsd-mobile-outgoing; Fri, 23 Jan 1998 18:10:59 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA15131 for ; Fri, 23 Jan 1998 18:10:55 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xvv3Y-0005Zw-00; Fri, 23 Jan 1998 19:10:48 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.8/8.8.3) with ESMTP id TAA29770; Fri, 23 Jan 1998 19:11:08 -0700 (MST) Message-Id: <199801240211.TAA29770@harmony.village.org> To: Nate Williams Subject: Re: Libretto 70CT problems Cc: Louie , freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Fri, 23 Jan 1998 16:54:15 MST." <199801232354.QAA23233@mt.sri.com> References: <199801232354.QAA23233@mt.sri.com> <199801232328.RAA05891@sunra.csci.unt.edu> Date: Fri, 23 Jan 1998 19:11:08 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <199801232354.QAA23233@mt.sri.com> Nate Williams writes: : [ I have no idea on sound ] Nor do I. : Have you messed with /etc/rc.serial? I've not had luck with the serial ports on my Libreto 50CT. : > 3) What's involved in getting the IrDA port to work? (I haven't : > tried yet.) Does it just look like another serial port or is there : > more to it? : : There's more to it. Apparently it doesn't 'just work', and requires : non-existant patches to have it do anything useful. It is supposed to just work, but it doesn't :-(. At least not that I've been able to see. This is under both FreeBSD and Win95. : > 4) Any word on floppy support? I saw in the mail archives that : > someone was going to work on it. Any progress? : : Warner Losh would know more as he owns one. I have a hacked fd driver that works great, except that it doesn't do DMA, which is required for floppies (so in reality, it doesn't work at all). Recently I purchased the Mindshare PCMCIA Architecture book, but haven't shaken loose enough time to work on it further. Warner From owner-freebsd-mobile Fri Jan 23 18:47:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA18898 for freebsd-mobile-outgoing; Fri, 23 Jan 1998 18:47:13 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from sunra.csci.unt.edu (sunra.csci.unt.edu [129.120.3.43]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA18893 for ; Fri, 23 Jan 1998 18:47:09 -0800 (PST) (envelope-from louie@sunra.csci.unt.edu) Received: (from louie@localhost) by sunra.csci.unt.edu (8.8.7/8.8.7) id UAA06131; Fri, 23 Jan 1998 20:45:33 -0600 (CST) (envelope-from louie) Date: Fri, 23 Jan 1998 20:45:33 -0600 (CST) From: Louie Message-Id: <199801240245.UAA06131@sunra.csci.unt.edu> To: imp@village.org, nate@mt.sri.com Subject: Re: Libretto 70CT problems Cc: freebsd-mobile@FreeBSD.ORG, louie@sunra.csci.unt.edu Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > From: Warner Losh > > In message <199801232354.QAA23233@mt.sri.com> Nate Williams writes: > > : Have you messed with /etc/rc.serial? > > I've not had luck with the serial ports on my Libreto 50CT. This turned out to be a cable problem. I put a RS232 mini-tester (breakout box with lights) on it and saw CD was missing. With a different cable the defualt serial setup works fine. > : > 3) What's involved in getting the IrDA port to work? (I haven't > : > tried yet.) Does it just look like another serial port or is there > : > more to it? > : > : There's more to it. Apparently it doesn't 'just work', and requires > : non-existant patches to have it do anything useful. > > It is supposed to just work, but it doesn't :-(. At least not that > I've been able to see. This is under both FreeBSD and Win95. FreeBSD sees two serial ports on my 70CT: sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A I assume sio1 is the IrDA port. If I could find an inexpesive IrDA adapter for my PC it might be fun to what I could get to work. Louie From owner-freebsd-mobile Fri Jan 23 19:19:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA22123 for freebsd-mobile-outgoing; Fri, 23 Jan 1998 19:19:56 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from word.smith.net.au (ppp3.portal.net.au [202.12.71.103]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA22118 for ; Fri, 23 Jan 1998 19:19:48 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id NAA00730; Sat, 24 Jan 1998 13:28:24 +1030 (CST) Message-Id: <199801240258.NAA00730@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Louie cc: imp@village.org, nate@mt.sri.com, freebsd-mobile@FreeBSD.ORG Subject: Re: Libretto 70CT problems In-reply-to: Your message of "Fri, 23 Jan 1998 20:45:33 MDT." <199801240245.UAA06131@sunra.csci.unt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 24 Jan 1998 13:28:23 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > sio1 at 0x2f8-0x2ff irq 3 on isa > sio1: type 16550A > > I assume sio1 is the IrDA port. If I could find an inexpesive IrDA > adapter for my PC it might be fun to what I could get to work. You should be on the right track. If you do decide to do this, I'd suggest starting at http://www.cs.uit.no/~dagb/irda/irda.html, which is the Linux IrDA effort's homepage. I don't know if their code is better than the Linux norm, but if nothing else their stuff *does* actually work 8). -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-mobile Fri Jan 23 19:52:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA25356 for freebsd-mobile-outgoing; Fri, 23 Jan 1998 19:52:03 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from word.smith.net.au (ppp3.portal.net.au [202.12.71.103]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA25129 for ; Fri, 23 Jan 1998 19:49:24 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id OAA00957; Sat, 24 Jan 1998 14:04:15 +1030 (CST) Message-Id: <199801240334.OAA00957@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Bill Trost cc: mobile@FreeBSD.ORG Subject: Re: SVEC NE2000 "clone" doom and gloom In-reply-to: Your message of "Fri, 23 Jan 1998 13:26:52 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 24 Jan 1998 14:04:14 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Mike Smith writes: > > Since the block is less than the memory quanta of MEMUNIT, bit_fns ends > > up getting asked to allocate a memory region of size zero (ROUNDOFF > > BUG!), which it can't do. > > Damn, I've seen this one before too. Want to submit a patch? 8) > > It should be trivial -- but for some reason, "make" in usr.sbin/pccard/pccardd > fails, so I am not going to bother unless I get the rest of this sorted out. Bleagh. Try going up a directory. > If you throw a few printf()'s in sys/pccard.c:allocate_driver() you should > be able to work out what's going wrong pretty quickly. > > OK, allocate_driver hangs in drv->enable (the whole system hangs inside the > splhigh(), surprise). That is bound to edinit, which hangs in ed_probe_pccard, > which hangs in ed_probe_WD80x3, which hangs computing the ether address PROM > checksum(???). It doesn't even manage to read the first byte. When you say "doesn't even manage to read the first byte", what happens? Is this a software bug (spinning forever), or a hardware bug (read from card locks machine?). > What's the TOSH_ETHER in if_ed.c for? If I define that, then I don't get the > hang -- instead, the checksum checks fail, and pccardd says that the driver > allocation fails (and I got an "unfiended interrupt (0)" once, too). The probe > does not believe the card is an NE2000. The TOSH_ETHER define is for some Toshiba cards. Unfiended interrupt 0 is doubly odd. 8) I take it that you tried removing the call to ed_probe_WD80x3() in order to determine that the NE2000 probe fails? > > AARGH! Yeah, sure, NE2000-compatible my foot! > > Could be. Nobody said the code was perfect either. > > You mean there might be a *bug*? In the *kernel*? Naaah.... (-: > > However, the way things are going, I am becoming more and more convinced that > the vendor botched it (at best). I'd have to confess that I'm inclined to wonder if the card really is an NE2000 PCCARD. One question; the Danpex card I use at the moment is actually quite easy to open up. If yours is the same, it'd be very interesting to know what was actually inside it. In some cases the vendors of these cards actually provide quite detailed data on their parts, and that may well lead to understanding or even a Real Fix. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-mobile Fri Jan 23 20:18:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA27989 for freebsd-mobile-outgoing; Fri, 23 Jan 1998 20:18:15 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from jli.com (jli.com [199.2.111.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id UAA27984 for ; Fri, 23 Jan 1998 20:18:12 -0800 (PST) (envelope-from cloud.rain.com!trost@jli.com) Received: by jli.com (Smail3.1.29.1 #3) id m0xvwpj-0002WtC; Fri, 23 Jan 98 20:04 PST Message-Id: Received: (qmail 23484 invoked from network); 24 Jan 1998 04:04:02 -0000 Received: from softdnserror (127.0.0.1) by softdnserror with SMTP; 24 Jan 1998 04:04:02 -0000 To: mobile@FreeBSD.ORG Subject: Re: SVEC NE2000 "clone" doom and gloom References: <199801240334.OAA00957@word.smith.net.au> In-reply-to: Your message of Sat, 24 Jan 1998 14:04:14 +1030. <199801240334.OAA00957@word.smith.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23471.885614611.1@cloud.rain.com> Date: Fri, 23 Jan 1998 20:03:31 -0800 From: Bill Trost Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike Smith writes: > "make" in usr.sbin/pccard/pccardd fails, so I am not going to bother > unless I get the rest of this sorted out. Bleagh. Try going up a directory. Tried that once, no luck. To be precise (in case anyone cares): cc -O -I/mnt/usr/src/usr.sbin/pccard/pccardd -I/mnt/usr/src/usr.sbin/pccard/pccardd/../pccardc -Wall -g -static -Wall -g -static -c /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c: In function `slot_change': /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c:232: `suspend' undeclared (first use this function) /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c:232: (Each undeclared identifier is reported only once /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c:232: for each function it appears in.) /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c: In function `setup_slot': /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c:561: storage size of `drv' isn't known /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c:561: warning: unused variable `drv' *** Error code 1 > ed_probe_WD80x3, which hangs computing the ether address PROM > checksum(???). It doesn't even manage to read the first byte. When you say "doesn't even manage to read the first byte", what happens? Is this a software bug (spinning forever), or a hardware bug (read from card locks machine?). The latter. > What's the TOSH_ETHER in if_ed.c for? If I define that, then I don't get > the hang -- instead, the checksum checks fail, and pccardd says that the > driver allocation fails (and I got an "unfiended interrupt (0)" once, > too). The probe does not believe the card is an NE2000. The TOSH_ETHER define is for some Toshiba cards. Unfiended interrupt 0 is doubly odd. 8) Yeah, way bizarre. I take it that you tried removing the call to ed_probe_WD80x3() in order to determine that the NE2000 probe fails? No, it's that defining TOSH_ETHER causes ed_probe_WD80x3 to not hang. Maybe I should just try enabling that first power-on of the card, and not the rest of TOSH_ETHER? Unlikely. the Danpex card I use at the moment is actually quite easy to open up. If yours is the same.... No way, I don't even see *how* it opens up. I'd rather be able to get my money back. Oh boy, my big chance to see Fry's "service" in action.... From owner-freebsd-mobile Fri Jan 23 20:19:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA28118 for freebsd-mobile-outgoing; Fri, 23 Jan 1998 20:19:29 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id UAA28110 for ; Fri, 23 Jan 1998 20:19:26 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xvwiE-0005dK-00; Fri, 23 Jan 1998 20:56:54 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.8/8.8.3) with ESMTP id UAA00564; Fri, 23 Jan 1998 20:57:14 -0700 (MST) Message-Id: <199801240357.UAA00564@harmony.village.org> To: Louie Subject: Re: Libretto 70CT problems Cc: nate@mt.sri.com, freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Fri, 23 Jan 1998 20:45:33 CST." <199801240245.UAA06131@sunra.csci.unt.edu> References: <199801240245.UAA06131@sunra.csci.unt.edu> Date: Fri, 23 Jan 1998 20:57:14 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <199801240245.UAA06131@sunra.csci.unt.edu> Louie writes: : This turned out to be a cable problem. I put a RS232 mini-tester : (breakout box with lights) on it and saw CD was missing. With a : different cable the defualt serial setup works fine. OK. Maybe that was my problem too. I couldn't connect it to a modem with the universal serial cable I've been using for years. :-(. : FreeBSD sees two serial ports on my 70CT: : : sio0 at 0x3f8-0x3ff irq 4 on isa : sio0: type 16550A : sio1 at 0x2f8-0x2ff irq 3 on isa : sio1: type 16550A Likewise. : I assume sio1 is the IrDA port. If I could find an inexpesive IrDA : adapter for my PC it might be fun to what I could get to work. I've seen them everywhere for $40-$50. Check out www.corpsys.com for one of those places. Warner From owner-freebsd-mobile Fri Jan 23 20:43:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA00412 for freebsd-mobile-outgoing; Fri, 23 Jan 1998 20:43:11 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA00407 for ; Fri, 23 Jan 1998 20:43:10 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id VAA22092; Fri, 23 Jan 1998 21:36:27 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id VAA24094; Fri, 23 Jan 1998 21:36:26 -0700 Date: Fri, 23 Jan 1998 21:36:26 -0700 Message-Id: <199801240436.VAA24094@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Bill Trost Cc: mobile@FreeBSD.ORG Subject: Re: SVEC NE2000 "clone" doom and gloom In-Reply-To: References: <199801240334.OAA00957@word.smith.net.au> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > "make" in usr.sbin/pccard/pccardd fails, so I am not going to bother > > unless I get the rest of this sorted out. > > Bleagh. Try going up a directory. > > Tried that once, no luck. To be precise (in case anyone cares): > > cc -O -I/mnt/usr/src/usr.sbin/pccard/pccardd -I/mnt/usr/src/usr.sbin/pccard/pccardd/../pccardc -Wall -g -static -Wall -g -static -c /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c > /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c: In function `slot_change': > /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c:232: `suspend' undeclared (first use this function) > /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c:232: (Each undeclared identifier is reported only once > /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c:232: for each function it appears in.) > /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c: In function `setup_slot': > /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c:561: storage size of `drv' isn't known > /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c:561: warning: unused variable `drv' Umm, are you using the PAO patches, or not? If so, then you must use them against a *STOCK* 2.2.5 kernel, since 2.2.5+ has alot of new changes I made that make it incompatible with the PAO code for stability and new features I added. (Their kernel-land code is also incompatible with our user-land stuff as well, also due to feaping creaturism. :) Nate From owner-freebsd-mobile Fri Jan 23 21:33:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA05438 for freebsd-mobile-outgoing; Fri, 23 Jan 1998 21:33:20 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from jli.com (jli.com [199.2.111.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA05433 for ; Fri, 23 Jan 1998 21:33:17 -0800 (PST) (envelope-from cloud.rain.com!trost@jli.com) Received: by jli.com (Smail3.1.29.1 #3) id m0xvxwq-0002WtC; Fri, 23 Jan 98 21:16 PST Message-Id: Received: (qmail 23783 invoked from network); 24 Jan 1998 05:15:22 -0000 Received: from softdnserror (127.0.0.1) by softdnserror with SMTP; 24 Jan 1998 05:15:22 -0000 To: mobile@FreeBSD.ORG Subject: Re: SVEC NE2000 "clone" doom and gloom References: <199801240436.VAA24094@mt.sri.com> <199801240334.OAA00957@word.smith.net.au> In-reply-to: Your message of Fri, 23 Jan 1998 21:36:26 MST. <199801240436.VAA24094@mt.sri.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23770.885618891.1@cloud.rain.com> Date: Fri, 23 Jan 1998 21:14:51 -0800 From: Bill Trost Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nate Williams writes: > /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c: In function `slot_change': > /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c:232: `suspend' undeclared (first use this function) > ... Umm, are you using the PAO patches, or not? Nope, -stable through and through. Pretty recent, too. From owner-freebsd-mobile Fri Jan 23 21:39:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA05814 for freebsd-mobile-outgoing; Fri, 23 Jan 1998 21:39:34 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA05803 for ; Fri, 23 Jan 1998 21:39:32 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id WAA22479; Fri, 23 Jan 1998 22:39:31 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id WAA24322; Fri, 23 Jan 1998 22:39:28 -0700 Date: Fri, 23 Jan 1998 22:39:28 -0700 Message-Id: <199801240539.WAA24322@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Bill Trost Cc: mobile@FreeBSD.ORG Subject: Re: SVEC NE2000 "clone" doom and gloom In-Reply-To: References: <199801240436.VAA24094@mt.sri.com> <199801240334.OAA00957@word.smith.net.au> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c: In function `slot_change': > > /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c:232: `suspend' undeclared (first use this function) > > ... > > Umm, are you using the PAO patches, or not? > > Nope, -stable through and through. Pretty recent, too. Ok, have you done a 'make includes' recently? Nate From owner-freebsd-mobile Sat Jan 24 01:19:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA22825 for freebsd-mobile-outgoing; Sat, 24 Jan 1998 01:19:13 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from word.smith.net.au (ppp7.portal.net.au [202.12.71.107]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA22815 for ; Sat, 24 Jan 1998 01:19:06 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id OAA01309; Sat, 24 Jan 1998 14:58:40 +1030 (CST) Message-Id: <199801240428.OAA01309@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Bill Trost cc: mobile@FreeBSD.ORG Subject: Re: SVEC NE2000 "clone" doom and gloom In-reply-to: Your message of "Fri, 23 Jan 1998 20:03:31 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 24 Jan 1998 14:58:39 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Mike Smith writes: > > "make" in usr.sbin/pccard/pccardd fails, so I am not going to bother > > unless I get the rest of this sorted out. > > Bleagh. Try going up a directory. > > Tried that once, no luck. To be precise (in case anyone cares): > > cc -O -I/mnt/usr/src/usr.sbin/pccard/pccardd -I/mnt/usr/src/usr.sbin/pccard/pccardd/../pccardc -Wall -g -static -Wall -g -static -c /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c > /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c: In function `slot_change': > /mnt/usr/src/usr.sbin/pccard/pccardd/cardd.c:232: `suspend' undeclared (first use this function) Your copy of is stale. > > ed_probe_WD80x3, which hangs computing the ether address PROM > > checksum(???). It doesn't even manage to read the first byte. > > When you say "doesn't even manage to read the first byte", what happens? > Is this a software bug (spinning forever), or a hardware bug (read from > card locks machine?). > > The latter. Yecch. I guess it's possible that the card is waitstating the system forever; what happens if you pull the card out in that state? > I take it that you tried removing the call to ed_probe_WD80x3() in order to > determine that the NE2000 probe fails? > > No, it's that defining TOSH_ETHER causes ed_probe_WD80x3 to not hang. Maybe I > should just try enabling that first power-on of the card, and not the rest of > TOSH_ETHER? Unlikely. It sounds as though the power-on pokes something inside the SVEC card that makes it wake up. > the Danpex card I use at the moment is actually quite easy to open up. If > yours is the same.... > > No way, I don't even see *how* it opens up. I'd rather be able to get my money > back. Gotcha. If you have that option, take it. > Oh boy, my big chance to see Fry's "service" in action.... Heh. Keep me posted; I fear I'll be seeing too much of the inside of one of those places soon. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-mobile Sat Jan 24 06:31:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA14109 for freebsd-mobile-outgoing; Sat, 24 Jan 1998 06:31:29 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from cesit1.unifi.it (cesit1.unifi.it [150.217.1.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA14102 for ; Sat, 24 Jan 1998 06:31:26 -0800 (PST) (envelope-from ugo@dsi.UNIFI.IT) Received: from aguirre.dsi.unifi.it by CESIT1.UNIFI.IT (PMDF V5.0-4 #3688) id <01ISRDDKS8PC000VWR@CESIT1.UNIFI.IT> for freebsd-mobile@FreeBSD.ORG; Sat, 24 Jan 1998 15:31:20 +0100 (MET) Received: from dsi.unifi.it (com9.unifi.it) by aguirre.dsi.unifi.it (4.1/SMI-4.1) id AA13563; Sat, 24 Jan 1998 15:36:14 +0100 Received: from pegasus.home.net (pegasus.home.net [192.168.1.3]) by dsi.unifi.it (8.8.8/8.8.8) with ESMTP id PAA28948; Sat, 24 Jan 1998 15:26:56 +0100 (MET envelope-from ugo) Received: (from ugo@localhost) by pegasus.home.net (8.8.8/8.8.7) id PAA00964; Sat, 24 Jan 1998 15:26:56 +0100 (MET) Date: Sat, 24 Jan 1998 15:26:55 +0100 (MET) From: Ugo Paternostro Subject: Re: Cirrus Logic PD6729 In-reply-to: <199801230503.WAA19888@mt.sri.com> To: Nate Williams Cc: freebsd-mobile@FreeBSD.ORG Message-id: Organization: Not an organization MIME-version: 1.0 X-Mailer: XFMail 1.2 [p0] on FreeBSD Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 8bit X-Priority: 3 (Normal) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 23-Jan-98 Nate Williams wrote about "Re: Cirrus Logic PD6729": > The error would probably occur even if you didn't compile DDB. Also, No, this behavior first showed up when I added "options DDB" in the kernel config. > did config blow away everything so that the compile was done from > scratch? It said so... shouldn't I trust it? :) >> debugger. Almost any command (but help) prints something like "Panic... blah >> blah blah". I tried a trace, but it gives no useful information. What should > > *grin* Read the handbook on kernel debugging, that should be a big help > and can give you more information than I can provide in email. Well, if I enter the debugger by pressing CTRL-ALT-ESC and then I give a "Trace" command, I can see the stack trace (it starts form _Debugger(...) and so on), but if I wait the panic and ask for a trace, I simply see something like this (I marked with "==>" my commands) (WARNING: hand copied from the console, may contain errors): ---------------------------------------------------------------------------- [...some information is missing due to the limited screen length...] fault code = supervisor read, page not present instruction pointer = 0x8:0x10 stack pointer = 0x10:0xf01ebef4 frame pointer = 0x10:0xf01ebf44 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 = Idle interrupt mask = kernel: type 12 trap, code=0 Stopped at 0x10: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x10 fault code = supervisor read, page not present instruction pointer = 0x8:0xf01b7808 stack pointer = 0x10:0xf01ebd68 frame pointer = 0x10:0xf01ebd6c 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 = Idle interrupt mask = kernel: type 12 trap, code=0 ==> db> trace Fatal trap 12: page fault while in kernel mode fault virtual address = 0x10 fault code = supervisor read, page not present instruction pointer = 0x8:0xf01b7808 stack pointer = 0x10:0xf01ebca4 frame pointer = 0x10:0xf01ebca8 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 = Idle interrupt mask = kernel: type 12 trap, code=0 ==> db> show reg [...some information is missing due to the limited screen length...] eax 0xc0000400 ecx 0xf261bf14 edx 0x3e0 ebx 0xf01fef00 _r_hook+0xd4 esp 0xf01ebef4 _etext+0x2654 ebp 0xf01ebf44 _etext+0x26a4 esi 0xf018f140 _inserted edi 0xc0000000 eip 0x10 efl 0x10286 0x10: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x10 fault code = supervisor read, page not present instruction pointer = 0x8:0xf01b7808 stack pointer = 0x10:0xf01ebc90 frame pointer = 0x10:0xf01ebc90 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 = Idle interrupt mask = kernel: type 12 trap, code=0 ==> db> panic panic: from debugger Debugger("panic") Stopped at 0x10: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x10 fault code = supervisor read, page not present instruction pointer = 0x8:0xf01b7808 stack pointer = 0x10:0xf01ebd68 frame pointer = 0x10:0xf01ebd6c 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 = Idle interrupt mask = kernel: type 12 trap, code=0 ==> db> panic panic: from debugger dumping to dev 30001, offset 0 dump device bad Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... ---------------------------------------------------------------------------- without any stack trace: it seems that the debugger itself is panicing, right after accessing location 0x10. Please note that the IP points to that location. Reading the edx value, I could guess it just did or it is going to do and I/O to that port, and, from the reference to r_hook, I could guess it is something related to APM (this would also explain why somethimes the machine goes in sleep mode when I remove the PCMCIA card). BTW, insert() is the function where it should print "Card inserted, slot 0" (that it never prints on the second boot). Unfortunately, I do not know the code enough to use this little information. Could you please help me? >> Should I force the pccard driver to use irq 9 for the chip? > > You can't force the pccard driver to use irq 9 unfortunately. That's > one of the (known) problems with the current setup. :( What about modifying pccard/pcic.c and initializing the pcic_irq variable to (say) 9 ? I know this is not "The Solution For Everybody", but I wanted to try, and it seemed to work, but crashed when it loaded the OSS driver... sigh It crashed also when I reconfigured OSS to use irq 5... >> P.S.: I have a problem with the anti-spam behavior of sendmail at > > Send email to freefall the same way you send email to me. :) Nope: I now masquerade :) > Nate Bye, UP From owner-freebsd-mobile Sat Jan 24 10:19:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA00977 for freebsd-mobile-outgoing; Sat, 24 Jan 1998 10:19:12 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA00972 for ; Sat, 24 Jan 1998 10:19:11 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id LAA27949; Sat, 24 Jan 1998 11:19:09 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id LAA25873; Sat, 24 Jan 1998 11:19:06 -0700 Date: Sat, 24 Jan 1998 11:19:06 -0700 Message-Id: <199801241819.LAA25873@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Ugo Paternostro Cc: Nate Williams , freebsd-mobile@FreeBSD.ORG Subject: Re: Cirrus Logic PD6729 In-Reply-To: References: <199801230503.WAA19888@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On 23-Jan-98 Nate Williams wrote about "Re: Cirrus Logic PD6729": > > The error would probably occur even if you didn't compile DDB. Also, > > No, this behavior first showed up when I added "options DDB" in the kernel > config. Did you re-install the includes? I'm compiling stuff with DDB and I don't have any problems. > >> debugger. Almost any command (but help) prints something like "Panic... blah > >> blah blah". I tried a trace, but it gives no useful information. What should > > > > *grin* Read the handbook on kernel debugging, that should be a big help > > and can give you more information than I can provide in email. > > Well, if I enter the debugger by pressing CTRL-ALT-ESC and then I give a > "Trace" command, I can see the stack trace (it starts form _Debugger(...) and > so on), but if I wait the panic and ask for a trace, I simply see something > like this (I marked with "==>" my commands) (WARNING: hand copied from the > console, may contain errors): Hmm, not good. It should give you a back-trace of the system. You may want to post this kind of information to -stable and see if they know of bugs in the current system. (Note, I'm also having problems getting a back-trace as well when it crashes mounting my DOS partition...) > without any stack trace: it seems that the debugger itself is panicing, right > after accessing location 0x10. Please note that the IP points to that location. Something is hosed up. > Reading the edx value, I could guess it just did or it is going to do and I/O > to that port, and, from the reference to r_hook, I could guess it is something > related to APM (this would also explain why somethimes the machine goes in > sleep mode when I remove the PCMCIA card). Ahh, can you disable APM just for kicks to see if that makes things any better? Nate From owner-freebsd-mobile Sat Jan 24 20:29:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA11532 for freebsd-mobile-outgoing; Sat, 24 Jan 1998 20:29:07 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from sunra.csci.unt.edu (sunra.csci.unt.edu [129.120.3.43]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA11525 for ; Sat, 24 Jan 1998 20:29:01 -0800 (PST) (envelope-from louie@sunra.csci.unt.edu) Received: (from louie@localhost) by sunra.csci.unt.edu (8.8.7/8.8.7) id WAA08179; Sat, 24 Jan 1998 22:27:18 -0600 (CST) (envelope-from louie) Date: Sat, 24 Jan 1998 22:27:18 -0600 (CST) From: Louie Message-Id: <199801250427.WAA08179@sunra.csci.unt.edu> To: freebsd-mobile@FreeBSD.ORG Subject: Re: Libretto 70CT problems Cc: luigi@iet.unipi.it Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Earlier I wrote: > I recently bought a Toshiba Libretto 70CT and installed 2.2.5-RELEASE > on it. I've been able to get most everything working (PLIP, X and PPP > using a PCMCIA modem) but I am having trouble with a few things: > > 1) Sound doesn't quite work. I can play midi files with playmidi > but I can't play .au files. When I cat a .au file to /dev/audio > I get "/dev/audio: No space left on device". Here's my sound card > configuration and /dev entries: > > controller snd0 > device sb0 at isa? port 0x220 irq 5 conflicts drq 0 vector sbintr > device opl0 at isa? port 0x388 > > lrwxrwxrwx 1 root wheel 6 Jan 21 20:56 audio@ -> audio0 > crw-rw-rw- 1 root wheel 30, 4 Jan 21 21:10 audio0 > > Would installing Luigi's sound drivers help? For the record, I was able to get sound working with Luigi's sound code (specifically pnp971020.tgz and snd980123.tgz). My kernel configuration file contains the line: device pcm0 at isa? port 0x220 tty irq 5 drq 0 vector pcmintr The card is probed as: pcm0 at 0x220 irq 5 drq 0 on isa Unknown card 0x0 0x0 -- hope it is SBPRO Both /dev/audio and /dev/dsp work as does RealAudio. Thanks for the code Luigi! Louie