Newsgroup: it.comp.os.linux.iniziare
Titolo: Problema pcmcia su A8N-VM(CSM)

Salve a tutto il newsgroup,
Complimenti per il lavoro svolto!Questo ng è una miniera di
informazioni.
Ecco il mio problema:
ho di recente acquistato un pc con motherboard Asus A8N-VM(CSM).
Su questo pc ho provato ad installare linux SimplyMepis
3.4.3.(Installazione completata con successo).
Ho un problema nella connessione gprs.
Ho un modem gprs PCMCIA connesso al pc mediante un adattatore
pcmcia-pci.
Kppp configurato su /dev/ttyS2 mi dice che il device è occupato quando
tento la connessione.
(anche altri devices tipo ttys1,3,4 risultano occupati)
Ho controllato che i moduli pcmcia siano caricati.. ed è così.
Inoltre il kernel 2.6.15 utilizza il nuovo pacchetto di gestione dei
dispositivi pcmciautils e i vecchi comandi per controllare lo stato del
dispositivo non sono piu' utilizzabili.
Nel Sistem Information di Kde ho notato che sotto la voce PCMCIA
riporta Pcmcia adaptor not found.
Vi posto il contenuto del comando dmesg sperando in qualche vostro
aiuto.
Grazie in anticipo. A presto.
Linux version 2.6.15-1-586tsc (Debian 2.6.15-1.ww1) (
w...@mepis.org
) (gcc
version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)) #2 PREEMPT Mon
Jan 30 19:39:26 EST 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e5000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001bfc0000 (usable)
 BIOS-e820: 000000001bfc0000 - 000000001bfce000 (ACPI data)
 BIOS-e820: 000000001bfce000 - 000000001bff0000 (ACPI NVS)
 BIOS-e820: 000000001bff0000 - 000000001c000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
 BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
447MB LOWMEM available.
On node 0 totalpages: 114624
  DMA zone: 4096 pages, LIFO batch:0
  DMA32 zone: 0 pages, LIFO batch:0
  Normal zone: 110528 pages, LIFO batch:31
  HighMem zone: 0 pages, LIFO batch:0
DMI 2.3 present.
ACPI: RSDP (v000 ACPIAM                                ) @ 0x000fb870
ACPI: RSDT (v001 A M I  OEMRSDT  0x10000505 MSFT 0x00000097) @
0x1bfc0000
ACPI: FADT (v002 A M I  OEMFACP  0x10000505 MSFT 0x00000097) @
0x1bfc0200
ACPI: MCFG (v001 A M I  OEMMCFG  0x10000505 MSFT 0x00000097) @
0x1bfc0400
ACPI: OEMB (v001 A M I  AMI_OEM  0x10000505 MSFT 0x00000097) @
0x1bfce040
ACPI: DSDT (v001  A0368 A0368001 0x00000001 INTL 0x02002026) @
0x00000000
ACPI: PM-Timer IO Port: 0x508
Allocating PCI resources starting at 20000000 (gap: 1c000000:e2c00000)
Built 1 zonelists
Kernel command line: root=/dev/hda5 nomce quiet vga=791
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 2009.460 MHz processor.
Using pmtmr for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 446580k/458496k available (2344k kernel code, 11380k reserved,
812k data, 136k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor
mode... Ok.
Calibrating delay using timer specific routine.. 4024.36 BogoMIPS
(lpj=8048725)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 078bfbff e3d3fbff 00000000 00000000
00000001 00000000 00000001
CPU: After vendor identify, caps: 078bfbff e3d3fbff 00000000 00000000
00000001 00000000 00000001
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: After all inits, caps: 078bfbff e3d3fbff 00000000 00000010
00000001 00000000 00000001
mtrr: v2.0 (20020519)
CPU: AMD Athlon(tm) 64 Processor 3200+ stepping 02
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
    ACPI-0311: *** Error: ns_search_and_enter: Bad character in ACPI
Name: 43035350
    ACPI-0292: *** Error: Looking up [0x43035350] (NON-ASCII)
 in namespace, AE_BAD_CHARACTER
    ACPI-0115: *** Error: acpi_load_tables: Could not load namespace:
AE_BAD_CHARACTER
    ACPI-0123: *** Error: acpi_load_tables: Could not load tables:
AE_BAD_CHARACTER
ACPI: Unable to load the System Description Tables
checking if image is initramfs... it is
Freeing initrd memory: 3775k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=5
PCI: Using MMCONFIG
ACPI: Subsystem revision 20050902
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:00:05.0
PCI: Transparent bridge - 0000:00:10.0
PCI: Using IRQ router default [10de/0260] at 0000:00:0a.0
PCI: Bridge: 0000:00:02.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:03.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:04.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bus 5, cardbus bridge: 0000:04:08.0
  IO window: 0000c000-0000c0ff
  IO window: 0000c400-0000c4ff
  PREFETCH window: 20000000-21ffffff
  MEM window: 22000000-23ffffff
PCI: Bridge: 0000:00:10.0
  IO window: c000-cfff
  MEM window: fa300000-faafffff
  PREFETCH window: bdf00000-bfefffff
PCI: Setting latency timer of device 0000:00:02.0 to 64
PCI: Setting latency timer of device 0000:00:03.0 to 64
PCI: Setting latency timer of device 0000:00:04.0 to 64
PCI: Setting latency timer of device 0000:00:10.0 to 64
audit: initializing netlink socket (disabled)
audit(1140462123.760:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
PCI: Setting latency timer of device 0000:00:02.0 to 64
pcie_portdrv_probe->Dev[02fc:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
Allocate Port Service[pcie03]
PCI: Setting latency timer of device 0000:00:03.0 to 64
pcie_portdrv_probe->Dev[02fd:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
Allocate Port Service[pcie03]
PCI: Setting latency timer of device 0000:00:04.0 to 64
pcie_portdrv_probe->Dev[02fb:10de] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
Allocate Port Service[pcie03]
vesafb: framebuffer at 0xd0000000, mapped to 0xdc880000, using 3072k,
total 65536k
vesafb: mode is 1024x768x16, linelength=2048, pages=1
vesafb: protected mode interface info at c000:d0c0
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
vesafb: Mode is VGA compatible
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
NFORCE-MCP51: IDE controller at PCI slot 0000:00:0d.0
NFORCE-MCP51: chipset revision 161
NFORCE-MCP51: not 100% native mode: will probe irqs later
NFORCE-MCP51: 0000:00:0d.0 (rev a1) UDMA133 controller
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: Maxtor 6Y080L0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: DVD-ROM 16X, ATAPI CD/DVD-ROM drive
hdd: PIONEER DVD-RW DVR-109, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=65535/16/63,
UDMA(133)
hda: cache flushes supported
 hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
hdc: ATAPI 50X DVD-ROM drive, 256kB Cache, UDMA(100)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, UDMA(66)
libata version 1.20 loaded.
sata_nv 0000:00:0e.0: version 0.8
PCI: Setting latency timer of device 0000:00:0e.0 to 64
ata1: SATA max UDMA/133 cmd 0xE800 ctl 0xE482 bmdma 0xE000 irq 4
ata2: SATA max UDMA/133 cmd 0xE400 ctl 0xE082 bmdma 0xE008 irq 4
ata1: no device found (phy stat 00000000)
scsi0 : sata_nv
ata2: no device found (phy stat 00000000)
scsi1 : sata_nv
PCI: Setting latency timer of device 0000:00:0f.0 to 64
ata3: SATA max UDMA/133 cmd 0xDC00 ctl 0xD882 bmdma 0xD400 irq 5
ata4: SATA max UDMA/133 cmd 0xD800 ctl 0xD482 bmdma 0xD408 irq 5
ata3: no device found (phy stat 00000000)
scsi2 : sata_nv
irq 4: nobody cared (try booting with the "irqpoll" option)
 [<c01341f2>] __report_bad_irq+0x31/0x73
 [<c01342c1>] note_interrupt+0x75/0x98
 [<c0133ccc>] __do_IRQ+0x8d/0xcd
 [<c0104366>] do_IRQ+0x19/0x24
 [<c0102e5a>] common_interrupt+0x1a/0x20
 [<c0101047>] default_idle+0x2b/0x53
 [<c01010a8>] cpu_idle+0x39/0x54
 [<c0418665>] start_kernel+0x18a/0x18e
handlers:
[<c02a7044>] (nv_interrupt+0x0/0x92)
Disabling IRQ #4
ata4: no device found (phy stat 00000000)
scsi3 : sata_nv
ieee1394: Initialized config rom entry `ip1394'
ieee1394: raw1394: /dev/raw1394 device initialized
usbmon: debugfs is not available
PCI: Setting latency timer of device 0000:00:0b.1 to 64
ehci_hcd 0000:00:0b.1: EHCI Host Controller
ehci_hcd 0000:00:0b.1: debug port 1
PCI: cache line size of 64 is not supported by device 0000:00:0b.1
ehci_hcd 0000:00:0b.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0b.1: irq 3, io mem 0xfebdfc00
ehci_hcd 0000:00:0b.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
input: AT Translated Set 2 keyboard as /class/input/input0
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 4, 65536 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
Using IPI Shortcut mode
Freeing unused kernel memory: 136k freed
input: ImExPS/2 Generic Explorer Mouse as /class/input/input1
irq 3: nobody cared (try booting with the "irqpoll" option)
 [<c01341f2>] __report_bad_irq+0x31/0x73
 [<c01342c1>] note_interrupt+0x75/0x98
 [<c0133ccc>] __do_IRQ+0x8d/0xcd
 [<c0104366>] do_IRQ+0x19/0x24
 [<c0102e5a>] common_interrupt+0x1a/0x20
handlers:
[<c02c77c7>] (usb_hcd_irq+0x0/0x54)
Disabling IRQ #3
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver
(PCI)
PCI: Setting latency timer of device 0000:00:0b.0 to 64
ohci_hcd 0000:00:0b.0: OHCI Host Controller
ohci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0b.0: irq 7, io mem 0xfebde000
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.48.
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 8 ports detected
PCI: Setting latency timer of device 0000:00:14.0 to 64
eth0: forcedeth.c: subsystem: 010de:cb84 bound to 0000:00:14.0
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
EXT3 FS on hda5, internal journal
Yenta: CardBus bridge found at 0000:04:08.0 [0000:0000]
Yenta: ISA IRQ mask 0x0000, PCI irq 5
Socket status: 30000410
pcmcia: parent PCI bridge I/O window: 0xc000 - 0xcfff
cs: IO port probe 0xc000-0xcfff: clean.
pcmcia: parent PCI bridge Memory window: 0xfa300000 - 0xfaafffff
pcmcia: parent PCI bridge Memory window: 0xbdf00000 - 0xbfefffff
PCI: Setting latency timer of device 0000:00:10.1 to 64
pccard: PCMCIA card inserted into slot 0
cs: memory probe 0xfa300000-0xfaafffff: excluding 0xfa300000-0xfa37ffff
pcmcia: registering new device pcmcia0.0
cs: IO port probe 0x100-0x3af: excluding 0x290-0x297
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: excluding 0x840-0x85f 0x870-0x877
0x880-0x887 0x898-0x8a7 0x8c0-0x8ff
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing
disabled
Adding 131000k swap on /dev/hda6.  Priority:1 extents:1 across:131000k
EXT3 FS on hda5, internal journal
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
device-mapper: 4.4.0-ioctl (2005-01-12) initialised:
dm-d...@redhat.com
ndiswrapper version 1.5 loaded (preempt=yes,smp=no)
usbcore: registered new driver ndiswrapper
FDC 0 is a post-1991 82077
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
eth0: no link during initialization.
ip_tables: (C) 2000-2002 Netfilter core team
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.4 (3582 buckets, 28656 max) - 232 bytes per
conntrack
Bluetooth: Core ver 2.8
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.6
lp: driver loaded but no devices found

Sperando che possa essere di aiuto e che qualcuno mi sappia dare un
consiglio vi posto anche:
federico@kubuntu:~$ pccardctl info
PRODID_1="Novatel Wireless"
PRODID_2="Merlin GPRS Modem"
PRODID_3="NRM6831"
PRODID_4=""
MANFID=00a4,1aaf
FUNCID=2
federico@kubuntu:~$ pccardctl status
Socket 0:
 no card
federico@kubuntu:~$ pccardctl ident
Socket 0:
 product info: "Novatel Wireless", "Merlin GPRS Modem", "NRM6831", ""
 manfid: 0x00a4, 0x1aaf
 function: 2 (serial)
federico@kubuntu:~$ cardctl status
Socket 0:
 5V 16-bit PC Card
 function 0: [ready]

sempre cardctl da root restituisce piu' informazioni utli:
root@kubuntu:~# pccardctl info
PRODID_1="Novatel Wireless"
PRODID_2="Merlin GPRS Modem"
PRODID_3="NRM6831"
PRODID_4=""
MANFID=00a4,1aaf
FUNCID=2
root@kubuntu:~# pccardctl status
Socket 0:
  5.0V 16-bit PC Card
  Subdevice 0 (function 0) bound to driver "serial_cs"
root@kubuntu:~# pccardctl config
Socket 0:
command 'config' not yet handled by pccardctl
root@kubuntu:~# cardctl config
Socket 0:
  Vcc 0.2V  Vpp1 51.2V  Vpp2 161061274.4V
  interface type is   irq 5 [exclusive] [level]
  speaker output is enabled
  function 0:
    config base 0x0003
      option 0x00 status 0x03
    io 0xb100-0xb107 [8bit]
root@kubuntu:~# cardctl ident
Socket 0:
  product info: "Novatel Wireless", "Merlin GPRS Modem", "NRM6831", ""
  manfid: 0x00a4, 0x1aaf
  function: 2 (serial)
faccio presente che avevo avuto lo stesso problema anche sotto windows
xp professional SP2 e che avevo rimeditato cambiando l'intervallo I/O
del modem pcmcia e settandolo come 02F0-02F7.
Sapete se è possibile fare lo stesso in ambiente linux? Quale file
devo modificare?
allego parte il dmesg della nuova distribuzione kubuntu dapper sperando
che qualche santo mi aiuti:
[4294683.142000] Yenta: CardBus bridge found at 0000:04:09.0
[0000:0000]
[4294683.282000] Yenta: ISA IRQ mask 0x0000, PCI irq 5
[4294683.282000] Socket status: 30000410
[4294683.282000] pcmcia: parent PCI bridge I/O window: 0xb000 - 0xcfff
[4294683.282000] cs: IO port probe 0xb000-0xcfff: clean.
[4294683.283000] pcmcia: parent PCI bridge Memory window: 0xfa200000 -
0xfaafffff
[4294683.283000] pcmcia: parent PCI bridge Memory window: 0xbdf00000 -
0xbfefffff
[4294683.975000] pccard: PCMCIA card inserted into slot 0
[4294683.975000] cs: memory probe 0xfa200000-0xfaafffff: excluding
0xfa200000-0xfa28ffff 0xfaa70000-0xfaafffff
[4294683.980000] pcmcia: registering new device pcmcia0.0
[4294684.091000] 0.0: ttyS1 at I/O 0xb100 (irq = 5) is a 16550A
[4294684.100000] cs: IO port probe 0x100-0x3af: clean.
[4294684.101000] cs: IO port probe 0x3e0-0x4ff: clean.
[4294684.102000] cs: IO port probe 0x820-0x8ff: clean.
[4294684.102000] cs: IO port probe 0xc00-0xcf7: clean.
[4294684.103000] cs: IO port probe 0xa00-0xaff: clean.
questo invece è l'inizio del file kernel.log ho trovato un log
lasciato al primo avvio della nuova distribuzione:
Mar  7 01:49:20 kubuntu kernel: [4295519.297000] pcmcia: Detected
deprecated PCMCIA ioctl usage.
Mar  7 01:49:20 kubuntu kernel: [4295519.297000] pcmcia: This interface
will soon be removed from the kernel; please expect breakage unless you
upgrade to new tools.
Mar  7 01:49:20 kubuntu kernel: [4295519.297000] pcmcia: see
http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
 for
details.
Spero che qualcuno mi risponda... sono ormai costretto ad usare windows
da piu' di un mese.. ho letto una marea di post e how to ma ancora non
ne vengo a capo.
Grazie ancora.
A presto