Compact Flash card and Ubuntu...

Lee McLain lee.mclain at gmail.com
Mon May 23 19:50:55 UTC 2005


Hi all,
     I have a Compact Flash adapter and a SanDisk 128mb CF Card that I
would like to use in the PCMCIA slot on my new Inspiron 6000.
     I know that the Card and the adapter work.  I have used them on
the Win XP side of the machine and I have used it on my old laptops
that all ran Linux.
    I can't figure out where the machine is assigning it a /dev
location.  What is the easiest way to figure out where a new device is
being assigned to?
    Here is the output of dmesg

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: SanDisk SDCFB-128, CFA DISK drive
ide0 at 0x100-0x107,0x10e on irq 3
ide-cs: hda: Vcc = 3.3, Vpp = 0.0
ibm_acpi: ec object not found
FAT: bogus number of reserved sectors


devfs_remove: ide/host0/bus0/target0/lun0 not found, cannot remove
 [<c0185124>] devfs_remove+0x50/0x7d
 [<e0561811>] ide_hwif_release_regions+0x40/0x68 [ide_core]
 [<e0561d45>] ide_unregister+0x173/0x40e [ide_core]
 [<e051b7c0>] ide_release+0x1a/0x52 [ide_cs]
 [<e051b84d>] ide_event+0x55/0x9b [ide_cs]
 [<e03cb5a9>] send_event+0x37/0x4d [pcmcia_core]
 [<e03cb5ce>] socket_remove_drivers+0xf/0x2c [pcmcia_core]
 [<e03cb5f6>] socket_shutdown+0xb/0x2c [pcmcia_core]
 [<e03cba26>] socket_remove+0xb/0x51 [pcmcia_core]
 [<e03cbaa7>] socket_detect_change+0x3b/0x52 [pcmcia_core]
 [<e03cbbda>] pccardd+0x11c/0x1b8 [pcmcia_core]
 [<c011321f>] default_wake_function+0x0/0x12
 [<c0102eca>] ret_from_fork+0x6/0x14
 [<c011321f>] default_wake_function+0x0/0x12
 [<e03cbabe>] pccardd+0x0/0x1b8 [pcmcia_core]
 [<c01011f9>] kernel_thread_helper+0x5/0xb
Unable to handle kernel NULL pointer dereference at virtual address 00000048
 printing eip:
c0179424
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: ide_cs ide_core usbhid speedstep_centrino proc_intf
freq_table cpufreq_userspace cpufreq_ondemand cpufreq_powersave pcmcia
i915 drm video sony_acpi pcc_acpi button battery container ac ipv6
af_packet ipw2200 firmware_class ieee80211 ieee80211_crypt ohci1394
yenta_socket pcmcia_core b44 mii i2c_i801 i2c_core ahci snd_intel8x0
snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd
soundcore snd_page_alloc ehci_hcd uhci_hcd usbcore intel_agp agpgart
pcspkr rtc ntfs nls_iso8859_1 nls_cp437 vfat fat md evdev dm_mod tsdev
capability commoncap sbp2 ieee1394 psmouse mousedev parport_pc lp
parport ext3 jbd sr_mod cdrom sd_mod sg ata_piix libata scsi_mod unix
thermal processor fan fbcon font bitblit vesafb cfbcopyarea cfbimgblt
cfbfillrect
CPU:    0
EIP:    0060:[<c0179424>]    Not tainted VLI
EFLAGS: 00010286   (2.6.10-5-386)
EIP is at sysfs_hash_and_remove+0x8/0xd6
eax: 00000000   ebx: e057a13c   ecx: e057986c   edx: dd8a0000
esi: e057a118   edi: e0579990   ebp: e057a030   esp: dd8a1eb0
ds: 007b   es: 007b   ss: 0068
Process pccardd (pid: 5153, threadinfo=dd8a0000 task=de0c2500)
Stack: e057a13c e057a118 e0579990 e057a030 c01ee4ed 00000000 e057a140 e057a118
       e057a4b0 dd8a0000 c01ee6c3 e057a118 e057a118 c01eda94 e057a118 e057a118
       e0579fa0 c01edac3 e057a118 e0579fa0 e0561e0d e057a118 c16c4030 00000001
Call Trace:
 [<c01ee4ed>] device_release_driver+0x1d/0x5c
 [<c01ee6c3>] bus_remove_device+0x39/0x68
 [<c01eda94>] device_del+0x43/0x67
 [<c01edac3>] device_unregister+0xb/0x16
 [<e0561e0d>] ide_unregister+0x23b/0x40e [ide_core]
 [<e051b7c0>] ide_release+0x1a/0x52 [ide_cs]
 [<e051b84d>] ide_event+0x55/0x9b [ide_cs]
 [<e03cb5a9>] send_event+0x37/0x4d [pcmcia_core]
 [<e03cb5ce>] socket_remove_drivers+0xf/0x2c [pcmcia_core]
 [<e03cb5f6>] socket_shutdown+0xb/0x2c [pcmcia_core]
 [<e03cba26>] socket_remove+0xb/0x51 [pcmcia_core]
 [<e03cbaa7>] socket_detect_change+0x3b/0x52 [pcmcia_core]
 [<e03cbbda>] pccardd+0x11c/0x1b8 [pcmcia_core]
 [<c011321f>] default_wake_function+0x0/0x12
 [<c0102eca>] ret_from_fork+0x6/0x14
 [<c011321f>] default_wake_function+0x0/0x12
 [<e03cbabe>] pccardd+0x0/0x1b8 [pcmcia_core]
 [<c01011f9>] kernel_thread_helper+0x5/0xb
Code: 10 8b 46 08 89 44 24 0c 5b 5e e9 a0 9c fe ff ff 48 14 8b 40 08
a8 08 74 07 5b 5e e9 66 d2 0e 00 5b 5e c3 55 57 56 53 8b 44 24 14 <8b>
58 48 8b 50 08 ff 4a 68 0f 88 bf 00 00 00 8b 53 0c 8d 6a fc


Thanks,
Lee




More information about the ubuntu-users mailing list