[plug] Re: weird pcmcia problem
Caleb Duggan
caleb.duggan at gmail.com
Tue Oct 4 12:10:14 WST 2005
I had a look at the man pages from cardctl and hotplug and, there was alot
of stuff i found helpful in them but unfortunately couldn't solve the
problem. I ran dmesg and got some errors for the wireless card while the
usb card was in and i think it might lead to the problem. When i run
dmesg, near the end of it, it has the following:
ath0: ath_chan_set: unable to reset channel 10 (2457Mhz)
ath0: ath_chan_set: unable to reset channel 11 (2462Mhz)
ath0: ath_chan_set: unable to reset channel 6 (2437Mhz)
ath0: hardware error; resetting
ath0: ath_reset: unable to reset hardware; hal status 0
ath0: ath_chan_set: unable to reset channel 8 (2447Mhz)
ath0: hardware error; resetting
ath0: ath_reset: unable to reset hardware; hal status 0
ath0: ath_chan_set: unable to reset channel 10 (2457Mhz)
What sort of problem does that indicate? The card itself is fine, could
the hardware error be something to do with the actual slots? stuffed up
kernel(im usin DSL so its the Knoppix kernel)?
I'll paste the output of dmesg below incase the lines i copied out before
arent all that is needed.(the lines i copied out are right at the end of
it)
Linux version 2.4.26 (root at Knoppix) (gcc version 2.95.4 20011002 (Debian
prerelease)) #1 SMP Sa Apr 17 19:33:42 CEST 2004
BIOS-provided physical RAM map:
BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
BIOS-e801: 0000000000100000 - 0000000002000000 (usable)
0MB HIGHMEM available.
32MB LOWMEM available.
On node 0 totalpages: 8192
zone(0): 4096 pages.
zone(1): 4096 pages.
zone(2): 0 pages.
DMI not present.
ACPI: Unable to locate RSDP
Kernel command line: root=/dev/hda1 quiet vga=normal noacpi noapm nodma
noscsi frugal
No local APIC present or hardware disabled
Initializing CPU#0
Detected 163.998 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 326.86 BogoMIPS
Memory: 29448k/32768k available (1371k kernel code, 2932k reserved, 561k
data, 140k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Intel Pentium with F0 0F bug - workaround enabled.
CPU: After generic, caps: 008001bf 00000000 00000000 00000000
CPU: Common caps: 008001bf 00000000 00000000 00000000
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch at atnf.csiro.au)
mtrr: detected mtrr type: none
CPU: After generic, caps: 008001bf 00000000 00000000 00000000
CPU: Common caps: 008001bf 00000000 00000000 00000000
CPU0: Intel Pentium MMX stepping 03
per-CPU timeslice cutoff: 160.82 usecs.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
ACPI: Subsystem revision 20040326
ACPI: Interpreter disabled.
PCI: PCI BIOS revision 2.10 entry at 0xf73c3, last bus=0
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: ACPI tables contain no PCI IRQ routing entries
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router OPTI [1045/c700] at 00:01.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
pty: 256 Unix98 ptys configured
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
OPTI621X: IDE controller at PCI slot 00:14.0
OPTI621X: chipset revision 18
OPTI621X: not 100% native mode: will probe irqs later
PCI: Setting latency timer of device 00:14.0 to 64
ide0: BM-DMA at 0x1010-0x1017, BIOS settings: hda:pio, hdb:pio
hda: IBM-DTCA-23240, ATA DISK drive
hdb: UJDA120, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
hda: 6354432 sectors (3253 MB) w/468KiB Cache, CHS=788/128/63
Partition check:
hda: hda1 hda2
ide: late registration of driver.
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 140k freed
Real Time Clock Driver v1.10f
hdb: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: MATSHITA Model: UJDA120 Rev: 1.01
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 16x/16x xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 15 for device 00:11.0
PCI: Found IRQ 11 for device 00:11.1
Yenta ISA IRQ mask 0x06b8, PCI irq 15
Socket status: 30000020
Yenta ISA IRQ mask 0x06b8, PCI irq 11
Socket status: 30000020
cs: cb_alloc(bus 1): vendor 0x168c, device 0x0013
PCI: Enabling device 01:00.0 (0000 -> 0002)
cs: cb_alloc(bus 2): vendor 0x1033, device 0x0035
PCI: Enabling device 02:00.0 (0000 -> 0002)
PCI: Enabling device 02:00.1 (0000 -> 0002)
PCI: Enabling device 02:00.2 (0000 -> 0002)
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x100-0x107 0x220-0x22f
0x250-0x257 0x330-0x337 0x378-0x37f 0x388-0x38f 0x3e8-0x3ff 0x408-0x40f
0x480-0x48f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 19:48:59 Apr 17 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: deregistering driver usbdevfs
usb.c: deregistering driver hub
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Setting latency timer of device 02:00.0 to 64
usb-ohci.c: USB OHCI at membase 0xc285c000, IRQ 11
usb-ohci.c: usb-02:00.0, PCI device 1033:0035
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 02:00.1 to 64
usb-ohci.c: USB OHCI at membase 0xc285e000, IRQ 11
usb-ohci.c: usb-02:00.1, PCI device 1033:0035
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usbdevfs: remount parameter error
hub.c: new USB device 02:00.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0xc76/0x5) is not claimed by any active
driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
ath_hal: 0.9.6.11
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Model: TS128MJFLASHA Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
wlan: 0.7.3.1 BETA
ath_pci: 0.8.5.2 BETA
ath_pci: cache line size not set; forcing 4
SCSI device sda: 248881 512-byte hdwr sectors (127 MB)
sda: Write Protect is off
sda:<3>ath0: mac 5.9 phy 4.3 5ghz radio 4.6
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
ath0: 802.11 address: 00:09:5b:ea:fc:6d
ath0: Atheros 5212: mem=0x10400000, irq=15
ehci_hcd 02:00.2: PCI device 1033:00e0
ehci_hcd 02:00.2: irq 11, pci mem c28a4000
sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
usb.c: new USB bus registered, assigned bus number 3
ehci_hcd 02:00.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
hub.c: USB hub found
hub.c: 5 ports detected
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
usb.c: USB disconnect on device 02:00.0-1 address 2
hub.c: new USB device 02:00.0-1, assigned address 3
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
Journalled Block Device driver loaded
VFS: Can't find ext3 filesystem on dev ide0(3,2).
VFS: Can't find ext2 filesystem on dev ide0(3,2).
Unable to identify CD-ROM format.
sh-2021: reiserfs_read_super: can not find reiserfs on ide0(3,2)
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 03:02.
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 03:02.
SGI XFS with realtime, no debug enabled
SGI XFS Quota Management subsystem
XFS: bad magic number
XFS: SB validate failed
NTFS driver v1.1.22 [Flags: R/W MODULE]
VFS: Can't find a Minix or Minix V2 filesystem on device 03:02.
VFS: Can't find a HFS filesystem on dev 03:02.
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS02 at 0x03e8 (irq = 4) is a 16550A
parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
VFS: Can't find ext3 filesystem on dev ide0(3,2).
VFS: Can't find ext2 filesystem on dev ide0(3,2).
Unable to identify CD-ROM format.
sh-2021: reiserfs_read_super: can not find reiserfs on ide0(3,2)
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 03:02.
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 03:02.
XFS: bad magic number
XFS: SB validate failed
VFS: Can't find a Minix or Minix V2 filesystem on device 03:02.
VFS: Can't find a HFS filesystem on dev 03:02.
cloop: Initializing cloop v2.01
cloop: loaded (max 8 devices)
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech at suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
cdrom: open failed.
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
SB 3.01 detected OK (220)
ESS chip ES1878 detected
ath0: ath_chan_set: unable to reset channel 10 (2457Mhz)
ath0: ath_chan_set: unable to reset channel 11 (2462Mhz)
ath0: ath_chan_set: unable to reset channel 6 (2437Mhz)
ath0: hardware error; resetting
ath0: ath_reset: unable to reset hardware; hal status 0
ath0: ath_chan_set: unable to reset channel 8 (2447Mhz)
ath0: hardware error; resetting
ath0: ath_reset: unable to reset hardware; hal status 0
ath0: ath_chan_set: unable to reset channel 10 (2457Mhz)
On Tue, 04 Oct 2005 07:41:24 +0800, Clare Johnstone
<clare at cyllene.uwa.edu.au> wrote:
>
> On Fri, 30 Sep 2005, Caleb Duggan wrote:
>
>>
>> I just found a way to remove the card without the system locking up, it
>> lets me remove it if i kill cardmgr first
>>
>> It is infact picking up devices that i plug into usb when its booted
>> up....i was testing it with a usb flash drive and was just running fdisk
>> -l and it just wasent listing it but, i was able to mount it so, i guess
>> thats fine.
>>
>> I still have the problem of the wireless card not working when the
>> pcmcia
>> to usb card is in and i have no idea how to go about fixing it.....
>>
>> On Fri, 30 Sep 2005 16:45:56 +0800, Caleb Duggan
>> <caleb.duggan at gmail.com>
>> wrote:
>>
>> > I got a pcmcia to usb2 card today and when i stick it in my pcmcia
>> slot
>> > on my old laptop(using damn small linux -- well its more like debian
>> > sarge now...i did a dist-upgrade from sarge mirrors), the wireless
>> card
>> > which is in the other slot then refuses to work, the usb only seems to
>> > work with devices that are in it on bootup and the system locks up if
>> i
>> > eject the card while the computer is booted up.
>
> Caleb you don't mention the command cardctl
> Also you don't mention hotplug.
> THe cardctl command I found really necessary always
> cardctl eject
> then pull the card
>
> quite often just the sequence in a script, without touching the card
> itself
> cardctl eject
> cardctl insert
> (It does have a man page.)
>
> hotplug also has a long and descriptive man page.
> So try for that and see if you have it. I need it for any
> usb device.
>
> cheers,
> clare
>
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the plug
mailing list