Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2001 01:01:00 -0700 (PDT)
From:      Alexander Trapeznikov <infoteacher@ipform.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/29077: At loading notebook pccardd not correctly initializes pcmcia devices.
Message-ID:  <200107190801.f6J810c49383@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         29077
>Category:       misc
>Synopsis:       At loading notebook pccardd not correctly initializes pcmcia devices.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 19 01:10:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Trapeznikov
>Release:        FreeBSD 4.3 STABLE
>Organization:
IPFORM
>Environment:
FreeBSD wp4.ipform.ru 4.3-STABLE FreeBSD 4.3-STABLE #10: Tue Jun 26 14:38:27 MSD 2001     root@wp4.ipform.ru:/usr/obj/usr/src/sys/THIS  i386

>Description:
Hi!

At loading notebook pccardd not correctly initializes pcmcia devices. How to
be?
Notebook: Asus L7300,
PCCard: RoverBook LAN 10/100, RoverBook Fax/Modem 56k(Intelligent)

Below various messages of the system and settings of system.
Why at loading there are messages?

=========[start message at loading]===========
Setup PC-CARD: memory beepCard manuf Ethernet, vers Adapter
Configuration entries:
 Index code = auto, driver name = ed
Insert commands are:
 /etc/pccard_ether $device start
Remove commands are:
 /sbin/pccard_ether $device stop
Card manuf Intelligent, vers PCMCIA FAX+MODEM
Configuration entries:
 Index code = 0x1f, driver name = sio
Code 240 not found
Code 240 not found
Code Unknown ignored
ed0 at port 0x300-0x31f irq 10 slot 0 on pccard0
ed0: address xx:xx:xx:xx:xx:xx, type NE2000 (16 bit)
add net default: gateway 192.168.0.1
sio2 at port 0x3e8-0x3ef irq 11 slot 1 on pccard1
sio2: type 16550A
pccardd.
Doing initial network setup: hostname.
=========[end message at loading]===========

=========[start configuration of kernel ]===========
# THIS  -- This machine kernel config

machine  i386
cpu  I686_CPU
ident  THIS
maxusers 150
options  CPU_SUSP_HLT

# generic options
options  INET   #InterNETworking
options  FFS   #Berkeley Fast Filesystem
options  FFS_ROOT  #FFS usable as root device [keep this!]
options  NFS   #Network Filesystem
options  NFS_ROOT  #Network Filesystem
options  MSDOSFS   #MSDOS Filesystem
options  CD9660   #ISO 9660 Filesystem
options  CD9660_ROOT  #ISO 9660 Filesystem
options  PROCFS   #Process filesystem
options  COMPAT_43  #Compatible with BSD 4.3 [KEEP THIS!]
options  USER_LDT
options  UCONSOLE  #Allow users to grab the console
options  USERCONFIG  #boot -c editor
options  VISUAL_USERCONFIG #visual boot -c editor
options  COMPAT_LINUX
options  SYSVSHM   #SYSV-style shared memory
options  SYSVMSG   #SYSV-style message queues
options  SYSVSEM   #SYSV-style semaphores
options  XSERVER   # support for X server


# busses
device isa
device pci

# Floppy drives
device fdc0 at isa? port IO_FD1  irq 6 drq 2
device  fd0 at fdc0 drive 0

# IDE controller and disks
device   ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
options         ATA_STATIC_ID           #Static device numbering


# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1
device          psm0    at atkbdc? irq 12
options  PSM_HOOKRESUME
options  PSM_RESETAFTERSUSPEND


# video
device  vga0 at isa?
options  VESA

# syscons is the default console driver, resembling an SCO console

device  vt0 at isa?
options  XSERVER
options  FAT_CURSOR
options  PCVT_NSCREENS=12

device  sc0 at isa?
options  SC_HISTORY_SIZE=400
options  SC_ALT_MOUSE_IMAGE
options  SC_MOUSE_CHAR=0x03
options  SC_DFLT_FONT
makeoptions SC_DFLT_FONT=koi8-r
options  SC_PIXEL_MODE

# Floating point support - do not disable.
device  npx0 at nexus? port IO_NPX flags 0x0 irq 13

# 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
options  PPC_PROBE_CHIPSET
device  ppc0 at isa? flags 0x40 irq 7
device  ppbus0   # Parallel port bus (required)
device  lpt0 at ppbus? # Printer

device  ed

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device loop  # Network loopback
pseudo-device ether  # Ethernet support
pseudo-device vn  # Ethernet support
pseudo-device ppp 3 # Kernel PPP
pseudo-device tun 1 # Packet tunnel
pseudo-device pty 16 # Pseudo-ttys (telnet etc)
pseudo-device gzip  # Exec gzipped a.out's
pseudo-device snp 2
pseudo-device bpf 2 #Berkeley packet filter
pseudo-device speaker
pseudo-device splash

# firewall
options  IPFIREWALL
options  IPFIREWALL_VERBOSE
options  IPFIREWALL_VERBOSE_LIMIT=100
options  ICMP_BANDLIM
options  IPFIREWALL
options  IPDIVERT
options  DUMMYNET

# some extra options
options  SOFTUPDATES
options  P1003_1B
options  _KPOSIX_PRIORITY_SCHEDULING
options  _KPOSIX_VERSION=199309L

#APM
device apm0

# multimedia ?
device pcm
device          pca0 at isa? port IO_TIMER1
device          pca1 at isa? port IO_TIMER2

device pcic0 at isa?
device pcic1 at isa?
device card
options PCIC_RESUME_RESET
options POWERFAIL_NMI

device usb
device ugen
=========[end configuration of kernel]===========

=========[start /etc/rc.conf ]===========
@pccard_enable="YES"
@pccard_beep="0"
@pccardd_flags="-v -z"
@pccard_ifconfig="inet 192.168.0.201 netmask 255.255.255.0"
@pccard_conf="/etc/pccard.conf"
@hostname="xxxxxxxxxxx"
@defaultrouter="192.168.0.1"
@gateway_enable="YES"
@ifconfig_ed0="inet 192.168.0.201 netmask 255.255.255.0"
=========[end /etc/rc.conf ]===========

=========[start /etc/pccard.conf ]===========
card "Ethernet" "Adapter"
 config auto "ed" ?
 ether 0x81
 logstr "Apollo PCMCIA Ethernet Adapter"
 insert /etc/pccard_ether $device start
 remove /etc/pccard_ether $device stop

card "Intelligent" "PCMCIA FAX+MODEM"
 config auto "sio" ?
 reset 1000
=========[end /etc/pccard.conf ]===========

=========[start /etc/default/pccard.conf ]===========
io 0x240-0x360
irq 3 5 10 11 15
memory 0xd4000  96k
include /etc/pccard.conf
=========[end /etc/default/pccard.conf ]===========

=========[start /etc/default/rc.conf ]===========
#!/bin/sh
swapfile="NO"  # Set to name of swapfile if aux swapfile desired.
apm_enable="NO"  # Set to YES to enable APM BIOS functions (or NO).
apmd_enable="NO" # Run apmd to handle APM event from userland.
apmd_flags=""  # Flags to apmd (if enabled).
pccard_enable="NO" # Set to YES if you want to configure PCCARD devices.
pccard_mem="DEFAULT" # If pccard_enable=YES, this is card memory address.
pccard_beep="2"  # pccard beep type.
pccard_ifconfig="NO" # Specialized pccard ethernet configuration (or NO).
pccardd_flags="" # Additional flags for pccardd.
pccard_conf="/etc/defaults/pccard.conf" # pccardd(8) config file
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
=========[end /etc/default/rc.conf ]===========

=========[start pccardc dumpcis]===========
Code 240 not found
Code 240 not found
code Unknown ignored
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 5
    000:  d4 0a 53 e9 ff
 Common memory device information:
  Device number 1, type Function specific, WPS = OFF
  Speed = 100nS, Memory block size = 8Kb, 2 units
  Device number 2, type FLASH EEPROM, WPS = OFF
  Speed = 150nS, Memory block size = 2Kb, 30 units
Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3
    000:  53 09 ff
 Attribute memory device information:
  Device number 1, type FLASH EEPROM, WPS = OFF
  Speed = 150nS, Memory block size = 2Kb, 2 units
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
    000:  49 01 ab c1
 PCMCIA ID = 0x149, OEM ID = 0xc1ab
Tuple #4, code = 0x15 (Version 1 info), length = 26
    000:  04 01 45 74 68 65 72 6e 65 74 00 41 64 61 70 74
    010:  65 72 00 32 2e 30 00 ff 00 ff
 Version = 4.1, Manuf = [Ethernet], card vers = [Adapter]
 Addit. info = [2.0]
Tuple #5, code = 0x1a (Configuration map), length = 5
    000:  01 06 d0 0f 0b
 Reg len = 2, config register addr = 0xfd0, last config = 0x6
 Registers: XX-X----
Tuple #6, code = 0x1b (Configuration entry), length = 7
    000:  c0 81 18 45 30 fc be
 Config index = 0x0(default)
 Interface byte = 0x81 (I/O)  wait signal supported
 Card decodes 5 address lines, limited 8/16 Bit I/O
  IRQ modes: Level
  IRQs:  2 3 4 5 6 7 9 10 11 12 13 15
Tuple #7, code = 0x1b (Configuration entry), length = 7
    000:  01 08 ca 60 00 03 1f
 Config index = 0x1
 Card decodes 10 address lines, limited 8/16 Bit I/O
  I/O address # 1: block start = 0x300 block length = 0x20
Tuple #8, code = 0x1b (Configuration entry), length = 7
    000:  02 08 ca 60 20 03 1f
 Config index = 0x2
 Card decodes 10 address lines, limited 8/16 Bit I/O
  I/O address # 1: block start = 0x320 block length = 0x20
Tuple #9, code = 0x1b (Configuration entry), length = 7
    000:  03 08 ca 60 40 03 1f
 Config index = 0x3
 Card decodes 10 address lines, limited 8/16 Bit I/O
  I/O address # 1: block start = 0x340 block length = 0x20
Tuple #10, code = 0x1b (Configuration entry), length = 7
    000:  04 08 ca 60 80 03 1f
 Config index = 0x4
 Card decodes 10 address lines, limited 8/16 Bit I/O
  I/O address # 1: block start = 0x380 block length = 0x20
Tuple #11, code = 0x1b (Configuration entry), length = 7
    000:  05 08 ca 60 00 02 1f
 Config index = 0x5
 Card decodes 10 address lines, limited 8/16 Bit I/O
  I/O address # 1: block start = 0x200 block length = 0x20
Tuple #12, code = 0x21 (Functional ID), length = 2
    000:  06 00
 Network/LAN adapter
Tuple #13, code = 0x14 (No link), length = 0
Tuple #14, code = 0x0 (Null tuple), length = 9
    000:  57 42 4c 41 4e 39 32 36 ff
Tuple #15, code = 0xff (Terminator), length = 0
Configuration data for card in slot 1
Tuple #1, code = 0x1 (Common memory descriptor), length = 2
    000:  00 ff
 Common memory device information:
  Device number 1, type No device, WPS = OFF
  Speed = No speed, Memory block size = reserved, 32 units
Tuple #2, code = 0x15 (Version 1 info), length = 32
    000:  04 01 49 6e 74 65 6c 6c 69 67 65 6e 74 00 50 43
    010:  4d 43 49 41 20 46 41 58 2b 4d 4f 44 45 4d 00 ff
 Version = 4.1, Manuf = [Intelligent], card vers = [PCMCIA FAX+MODEM]
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
    000:  00 02 01 00
 PCMCIA ID = 0x200, OEM ID = 0x1
Tuple #4, code = 0x21 (Functional ID), length = 2
    000:  02 00
 Serial port/modem
Tuple #5, code = 0x22 (Functional EXT), length = 4
    000:  00 02 0f 5c
 Serial interface extension:
  16550 UART, Parity - Space,Mark,Odd,Even
  Data bit - 7bit,8bit, Stop bit - 1bit,2bit
Tuple #6, code = 0x22 (Functional EXT), length = 9
    000:  05 1f 1f 00 04 00 00 04 00
 Data modem interface capabilities:
Tuple #7, code = 0x22 (Functional EXT), length = 9
    000:  06 1f 1f 00 04 00 00 04 00
 Fax/modem interface capabilities:
Tuple #8, code = 0x22 (Functional EXT), length = 12
    000:  02 06 00 3f 1c 03 03 0f 07 00 01 b5
 Data modem services available:
Tuple #9, code = 0x22 (Functional EXT), length = 8
    000:  13 06 00 1f 00 02 00 b5
 Fax1/modem services available:
Tuple #10, code = 0x22 (Functional EXT), length = 8
    000:  23 06 00 1f 00 02 00 b5
 Fax2/modem services available:
Tuple #11, code = 0x1a (Configuration map), length = 5
    000:  01 27 80 ff 67
 Reg len = 2, config register addr = 0xff80, last config = 0x27
 Registers: XXX--XX-
Tuple #12, code = 0x1b (Configuration entry), length = 19
    000:  cf 41 99 79 55 3d 86 46 26 4c aa 60 f8 03 07 f0
    010:  bc 86 28
 Config index = 0xf(default)
 Interface byte = 0x41 (I/O)  +RDY/-BSY active
 Vcc pwr:
  Nominal operating supply voltage: 5 x 1V
  Continuous supply current: 3.5 x 10mA
  Max current average over 1 second: 1 x 100mA, ext = 0x46
  Max current average over 10 ms: 2 x 100mA
  Power down supply current: 4.5 x 1mA
 Card decodes 10 address lines, 8 Bit I/O only
  I/O address # 1: block start = 0x3f8 block length = 0x8
  IRQ modes: Level, Pulse, Shared
  IRQs:  2 3 4 5 7 9 10 15
 Max twin cards = 0
 Misc attr: (Audio-BVD2) (Power down supported)
Tuple #13, code = 0x1b (Configuration entry), length = 7
    000:  17 08 aa 60 f8 02 07
 Config index = 0x17
 Card decodes 10 address lines, 8 Bit I/O only
  I/O address # 1: block start = 0x2f8 block length = 0x8
Tuple #14, code = 0x1b (Configuration entry), length = 7
    000:  1f 08 aa 60 e8 03 07
 Config index = 0x1f
 Card decodes 10 address lines, 8 Bit I/O only
  I/O address # 1: block start = 0x3e8 block length = 0x8
Tuple #15, code = 0x1b (Configuration entry), length = 7
    000:  27 08 aa 60 e8 02 07
 Config index = 0x27
 Card decodes 10 address lines, 8 Bit I/O only
  I/O address # 1: block start = 0x2e8 block length = 0x8
Tuple #16, code = 0xff (Terminator), length = 0
2 slots found
=========[end pccardc dumpcis]===========
=========[start dmesg]===========
Copyright (c) 1992-2001 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.3-STABLE #40: Tue Jul 10 05:06:57 MSD 2001
    xxxx@xxxx.xxxxxx.xx:/usr/obj/usr/src/sys/THIS
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (367.50-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10

Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
PAT,PSE36,MMX,FXSR>
real memory  = 67043328 (65472K bytes)
avail memory = 61464576 (60024K bytes)
Preloaded elf kernel "kernel" at 0xc0382000.
VESA: v2.0, 4096k memory, flags:0x0, mode table:0xc00c8f83 (c0008f83)
VESA: Silicon Motion SM910 VGA BIOS
Pentium Pro MTRR support enabled
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: <Intel 82443BX host to PCI bridge (AGP disabled)> on motherboard
pci0: <PCI bus> on pcib0
pci0: <VGA-compatible display device> at 2.0 irq 9
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfcf0-0xfcff at device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2
chip1: <Intel 82371AB Power management controller> port 0x2180-0x218f at
device 7.3 on pci0
pcic-pci0: <Ricoh RL5C476 PCI-CardBus Bridge> at device 10.0 on pci0
pcic-pci1: <Ricoh RL5C476 PCI-CardBus Bridge> at device 10.1 on pci0
isa0: too many drqs
vt0 on isa0
vt0: generic, 80 col, color, 12 scr, unknown kbd, [R3.20-b24]
vt0: driver is using old-style compatability shims
orm0: <Option ROM> at iomem 0xc0000-0xcbfff 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> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 flags 0x40 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
pca0 at port 0x40 on isa0
pca1 at port 0x48 on isa0
pcic0: <Intel i82365> at port 0x3e0-0x3e1 on isa0
pcic0: Polling mode
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
pcm0: <Yamaha OPL-SAx> at port
0x220-0x22f,0x530-0x537,0x388-0x38f,0x330-0x331,0x370-0x371 irq 5 drq 0,1 on
isa0
IP packet filtering initialized, divert enabled, rule-based forwarding
disabled, default to deny, logging limited to 100 packets/entry by default
DUMMYNET initialized (010124)
pccard: card inserted, slot 0
pccard: card inserted, slot 1
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ad0: 6194MB <IBM-DADA-26480> [13424/15/63] at ata0-master UDMA33
acd0: CDROM <CD-224E> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s2a
ed0 at port 0x300-0x31f irq 10 slot 0 on pccard0
ed0: address ff:08:ca:60:00:03, type NE2000 (16 bit)
sio2 at port 0x3e8-0x3ef irq 11 slot 1 on pccard1
sio2: type 16550A
=========[end dmesg]===========

Best Regards, Alexander Trapeznikov!
----------------------------------------------------------------------------
WWW: http://www.sovetchik.ru [Knowledge Base]
Email: infoteacher@ipform.ru
Phone: 8(095) 232-0338

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107190801.f6J810c49383>