Date: Sun, 6 Oct 2002 14:09:56 -0400 From: Eric Gebhart <saseag@unx.sas.com> To: FreeBSD mobile list <freebsd-mobile@freebsd.org> Subject: 512M compact flash. Message-ID: <20021006140956.A11678@unx.sas.com>
next in thread | raw e-mail | index | archive | help
Hi, I'm new to the list. I have been running FreeBSD on my Inspiron 8000 laptop for a about a year now. I've successfully created new entries in my pccard.conf for other devices in the past. But I have this new Viking 512M card that just won't work. It works fine on my wife's Linux laptop. But Linux does things in such twisted and obfiscated ways I couldn't tell anything from it's configs. The card Id's as a TOSHIBA THNCF512MMA. I've tried everything I can think of. I even tried 'pccardc enabler' but that was getting into things that I didn't understand or couldn't figure out from 'pccardc dumpcis' I just rebooted to get a clean start after all my experimentation. I left the card in on reboot. There was no trace of it being found in dmesg or in messages. Not other than card0 inserted... I then removed it and reinserted it. This the is the tail of my var/log/messages Oct 6 13:38:29 cumulus /kernel: pccard: card removed, slot 0 Oct 6 13:38:29 cumulus pccardd[65]: ata0: GENERIC Flash ATA / ATA HDD removed. Oct 6 13:38:33 cumulus /kernel: pccard: card inserted, slot 0 Oct 6 13:38:39 cumulus pccardd[65]: Card "TOSHIBA THNCF512MMA "("") [] [] has function ID 4 Oct 6 13:38:44 cumulus pccardd[65]: driver allocation failed for (null)((null)): Device not configured So here's all the info I could think of that might help figure this out. The first two pccard.conf entries work fine. The new one is the 3rd one. Any help is greatly appreciated. thanks, Eric > uname -a FreeBSD cumulus 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun May 5 00:23:02 EDT 2002 eric@cumulus:/usr/obj/usr/src/sys/Inspiron8k i386 pccard.conf ========================= # ZoomAir 4100 card "ZoomAir 11Mbps High" "Rate wireless Networking" config auto "wi" ? insert /etc/pccard_ether $device start insert /etc/setup_wi0 remove /etc/pccard_ether $device stop card "TOSHIBA THNCF128MAA " "" config 0x1 "ata" 9 card "TOSHIBA THNCF512MAA " "" config 0x2 "ata" ? ======================== pccardc dumpcis ======================== Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: d9 01 ff Common memory device information: Device number 1, type Function specific, WPS = ON Speed = 250nS, Memory block size = 2Kb, 1 units Tuple #2, code = 0x1c (Other conditions for common memory), length = 4 000: 03 d9 01 ff (MWAIT) (3V card) Tuple #3, code = 0x18 (JEDEC descr for common memory), length = 2 000: df 01 Tuple #4, code = 0x20 (Manufacturer ID), length = 4 000: 98 00 00 00 PCMCIA ID = 0x98, OEM ID = 0x0 Tuple #5, code = 0x15 (Version 1 info), length = 32 000: 04 01 54 4f 53 48 49 42 41 20 54 48 4e 43 46 35 010: 31 32 4d 4d 41 20 00 00 00 00 00 00 00 00 00 ff Version = 4.1, Manuf = [TOSHIBA THNCF512MMA ], card vers = [] Addit. info = [],[] Tuple #6, code = 0x21 (Functional ID), length = 2 000: 04 01 Fixed disk card - POST initialize Tuple #7, code = 0x22 (Functional EXT), length = 2 000: 01 01 Disk interface: IDE Tuple #8, code = 0x22 (Functional EXT), length = 3 000: 02 0c 0f Disk features: Silicon, Unique, Single Sleep, Standby, Idle, Low power, Tuple #9, code = 0x1a (Configuration map), length = 5 000: 01 03 00 02 0f Reg len = 2, config register addr = 0x200, last config = 0x3 Registers: XXXX---- Tuple #10, code = 0x1b (Configuration entry), length = 8 000: c0 c0 a1 01 55 08 00 20 Config index = 0x0(default) Interface byte = 0xc0 (memory) +RDY/-BSY active, wait signal supported Vcc pwr: Nominal operating supply voltage: 5 x 1V Memory space length = 0x8 Max twin cards = 0 Misc attr: (Power down supported) Tuple #11, code = 0x1b (Configuration entry), length = 6 000: 00 01 21 b5 1e 4d Config index = 0x0 Vcc pwr: Nominal operating supply voltage: 3 x 1V, ext = 0x1e Max current average over 10 ms: 4.5 x 10mA Tuple #12, code = 0x1b (Configuration entry), length = 10 000: c1 41 99 01 55 64 f0 ff ff 20 Config index = 0x1(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Card decodes 4 address lines, full 8/16 Bit I/O IRQ modes: Level, Pulse, Shared IRQs: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Max twin cards = 0 Misc attr: (Power down supported) Tuple #13, code = 0x1b (Configuration entry), length = 6 000: 01 01 21 b5 1e 4d Config index = 0x1 Vcc pwr: Nominal operating supply voltage: 3 x 1V, ext = 0x1e Max current average over 10 ms: 4.5 x 10mA Tuple #14, code = 0x1b (Configuration entry), length = 15 000: c2 41 99 01 55 ea 61 f0 01 07 f6 03 01 ee 20 Config index = 0x2(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Card decodes 10 address lines, full 8/16 Bit I/O I/O address # 1: block start = 0x1f0 block length = 0x8 I/O address # 2: block start = 0x3f6 block length = 0x2 IRQ modes: Level, Pulse, Shared IRQ level = 14 Max twin cards = 0 Misc attr: (Power down supported) Tuple #15, code = 0x1b (Configuration entry), length = 6 000: 02 01 21 b5 1e 4d Config index = 0x2 Vcc pwr: Nominal operating supply voltage: 3 x 1V, ext = 0x1e Max current average over 10 ms: 4.5 x 10mA Tuple #16, code = 0x1b (Configuration entry), length = 15 000: c3 41 99 01 55 ea 61 70 01 07 76 03 01 ee 20 Config index = 0x3(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Card decodes 10 address lines, full 8/16 Bit I/O I/O address # 1: block start = 0x170 block length = 0x8 I/O address # 2: block start = 0x376 block length = 0x2 IRQ modes: Level, Pulse, Shared IRQ level = 14 Max twin cards = 0 Misc attr: (Power down supported) Tuple #17, code = 0x1b (Configuration entry), length = 6 000: 03 01 21 b5 1e 4d Config index = 0x3 Vcc pwr: Nominal operating supply voltage: 3 x 1V, ext = 0x1e Max current average over 10 ms: 4.5 x 10mA Tuple #18, code = 0x14 (No link), length = 0 Tuple #19, code = 0xff (Terminator), length = 0 ================================================================================ dmesg ================================================================================ Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.5-STABLE #0: Sun May 5 00:23:02 EDT 2002 eric@cumulus:/usr/obj/usr/src/sys/Inspiron8k Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (897.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 536780800 (524200K bytes) avail memory = 518692864 (506536K bytes) Preloaded elf kernel "kernel" at 0xc039a000. netsmb_dev: loaded Pentium Pro MTRR support enabled Using $PIR table, 10 entries at 0xc00fbc20 apm0: <APM BIOS> on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <Intel 82801BA/BAM (ICH2) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <ATI model 4d46 graphics accelerator> at 0.0 irq 11 pcib2: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on pci0 pci2: <PCI bus> on pcib2 pci2: <unknown card> (vendor=0x125d, dev=0x1998) at 3.0 irq 5 pcib3: <PCI to PCI bridge (vendor=1668 device=0100)> at device 6.0 on pci2 pci8: <PCI bus> on pcib3 fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xecc0-0xecff mem 0xf8e00000-0xf8efffff,0xf8fff000-0xf8ffffff irq 10 at device 4.0 on pci8 fxp0: Ethernet address 00:20:e0:6a:c2:39 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci8: <unknown card> (vendor=0x11c1, dev=0x0448) at 8.0 irq 10 pcic0: <TI PCI-4451 PCI-CardBus Bridge> irq 10 at device 15.0 on pci2 pcic0: PCI Memory allocated: 0x44000000 pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][CSC serial isa irq] pccard0: <PC Card bus (classic)> on pcic0 pcic1: <TI PCI-4451 PCI-CardBus Bridge> irq 10 at device 15.1 on pci2 pcic1: PCI Memory allocated: 0x44001000 pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][CSC serial isa irq] pccard1: <PC Card bus (classic)> on pcic1 pci2: <unknown card> (vendor=0x104c, dev=0x8027) at 15.2 irq 10 isab0: <PCI to ISA bridge (vendor=8086 device=244c)> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH2 ATA100 controller> port 0xbfa0-0xbfaf at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xbce0-0xbcff irq 10 at device 31.2 on pci0 usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Logitech Trackball, rev 1.10/2.20, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 ad0: 28615MB <FUJITSU MHL2300AT> [58140/16/63] at ata0-master UDMA66 acd0: CD-RW <MATSHITA CD-RW UJDA330> at ata0-slave PIO4 Mounting root from ufs:/dev/ad0s1a pccard: card inserted, slot 0 pccard: card inserted, slot 1 pccard: card removed, slot 0 pccard: card removed, slot 1 pccard: card inserted, slot 0 pccard: card inserted, slot 1 link_elf: symbol splash_register undefined wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 10 slot 1 on pccard1 wi0: 802.11 address: 00:02:2d:4f:fc:f3 wi0: using Lucent chip or unknown chip module_register: module snd_pcm already exists! linker_file_sysinit "snd_pcm.ko" failed to register! 17 pcm0: <ESS Technology Maestro3> port 0xdc00-0xdcff mem 0xf6ffe000-0xf6ffffff irq 5 at device 3.0 on pci2 pccard: card removed, slot 0 pccard: card inserted, slot 0 ================================================================================ rc.conf ================================================================================ # -- sysinstall generated deltas -- # Fri Nov 9 14:54:56 2001 # Created: Fri Nov 9 14:54:56 2001 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. hostname="cumulus" apm_enable="YES" pccard_enable="YES" pccard_flags="-z" # uncommenting this will make the wireless not work... # fxp0 always wins even if it's not connected. # I do my own dhclient, etc. later. #ifconfig_fxp0="DHCP" #ifconfig_wi0="DHCP" #pccard_ifconfig="DHCP" hostname="cumulus" kern_securelevel_enable="NO" linux_enable="YES" moused_enable="YES" moused_flags="-3" moused_type="auto" nfs_client_enable="YES" nfs_reserved_port_only="YES" sendmail_enable="YES" #sshd_enable="YES" usbd_enable="YES" lpd_enable="YES" #check_quotas="NO" #inetd_enable="YES" named_enable="YES" named_flags="-b /etc/namedb/named.boot" #nisdomainname="NO" # -- added for filesystem ecryption -- single_mountd_enable="YES" mountd_flags="-r" portmap_enable="YES" portmap_program="/usr/sbin/portmap" #moused_enable="NO" #moused_flags="/dev/ums0" usbd_enable="YES" usbd_flags="" ================================================================================ kernel config ================================================================================ # # BTS -- Generic kernel modified by Brian T. Schellenberger # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.20 2000/10/31 23:16:07 n_hibma Exp $ machine i386 cpu I686_CPU ident BTS maxusers 200 # I'm enabling DEBUG and all that. # This was to debug the PC card that I don't have anymore, so forget it. # makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options SMBFS #SMB/CIFS filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev options EXT2FS device isa device eisa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives #device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering #options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? device uhci device ohci device usb device ums device ukbd device ugen device aue device cue device kue device cue # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm #device apm0 at nexus? disable flags 0x20 # Advanced Power Management # PCCARD (PCMCIA) support device card device pcic0 at isa? irq 10 port 0x3e0 iomem 0xd0000 device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 disable # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 #device sio1 at isa? port IO_COM2 irq 3 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device ppi # Parallel port interface device # ISA Ethernet NICs. #device ed #device ex #device ep # wireless device wi # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device fxp # Intel EtherExpress PRO/100B (82557, 82558) # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device ppp 1 # Kernel PPP #pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) #pseudo-device md # Memory "disks" #pseudo-device gif 4 # IPv6 and IPv4 tunneling # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter # For PnP/PCI sound cards device pcm # Stuff for firewall &c. for vmware. This can wait if anything can. # Also stuff for diagnostics for the flakey card. # #options IPFIREWALL #firewall #options IPFIREWALL_VERBOSE #print information about ## # dropped packets ###options IPFIREWALL_FORWARD #enable transparent proxy support ##options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity #options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default # ## #options IPDIVERT #divert sockets # ###options IPFILTER #ipfilter support ###options IPFILTER_LOG #ipfilter logging # ##options BRIDGE # ## Stuff from that flakey ethernet card. Not using it anymore; so ## don't bother. ## ## The DIAGNOSTIC option is used to enable extra debugging information ## from some parts of the kernel. As this makes everything more noisy, ## it is disabled by default. ## ## options DIAGNOSTIC # ## ## Enable the kernel debugger. ## ## options DDB # ## ## Don't drop into DDB for a panic. Intended for unattended operation ## where you may want to drop to DDB from the console, but still want ## the machine to recover from a panic ## ## options DDB_UNATTENDED # # # SMB/CIFS requester # NETSMB enables support for SMB protocol, it requires LIBMCHAIN and LIBICONV # options. # NETSMBCRYPTO enables support for encrypted passwords. options NETSMB #SMB/CIFS requester options NETSMBCRYPTO #encrypted password support for SMB # mchain library. It can be either loaded as KLD or compiled into kernel options LIBMCHAIN #mbuf management library # Kernel side iconv library options LIBICONV # One of the ports that needs this is mplayer, so here it is. # # Allow applications running in user space to control the Local Descriptor # Table (LDT). This is required by some ports. Future versions of FreeBSD # may require this option for some programs in the base system. # options USER_LDT #allow user-level control of i386 ldt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021006140956.A11678>