LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SanDisk 128MB/WiFi CF card on SlackWare12.0 (https://www.linuxquestions.org/questions/linux-newbie-8/sandisk-128mb-wifi-cf-card-on-slackware12-0-a-703196/)

slackerforlife 02-08-2009 04:32 PM

SanDisk 128MB/WiFi CF card on SlackWare12.0
 
Hello, gents I really need some help. First off, I am new at slackware.
Second I have an old Toshiba satellite 4100 x DVD PII laptop.
When I install slackware 12.0 on it and plug in my Xircom Ethernet 10/100 card.
It gets recognize and works fine. I all so have a SanDisk 128mb/wifi card when I plug that in I only get the memory part to work. I have been at this for about 2 years on and off with no luck. If any one has a step by step for slackware 12.0 or 12.2 plz do tell.
Don’t send me to read Debian, OpenSUSE or Zaurus as that does not make sense to me.

Downloads:
after extracting the files “/root/Desktop/downloads”in there new folder I do “make” and get these Errors.
hostapd-0.5.11.tar.gz: Error 1 you can run “cp defconfig .config” to creat an example.
So I type: cp defconfig .config on the command line and hit enter. then I did “make” It looks ok so I do “make install” and got: “ for i in hostapd hostapd_cli; do cp $i /usr/local/bin/$i; done”
Don’t know what to do at this point. If do plz so tell step by step.
wpa_supplicant-0.5.11.tar.gz: Error 1 you can run “cp defconfig .conf” to creat an example. The rest is the same as the above erroers.
hostap-driver-0.4.9.tar.gz: can’t build for 2.6 with non-2.6 source. Don’t know what to do. If you do can u tell step by step.
hostaputils-0.4.7.tar.gz: “make” work, but “make install” I got no “rule to make target ‘install’. Stop.” If you know what to do plz do tell step by step.

Don’t know if I need any of these file for Slackware 12.0. I do know that on a
fresh Slackware 12.0 there is no hostap install when I do “installpkg” to see what is on the system.

Firmware:
primary.tar.bz2, Latest-prism.tar.bz2, 1.7.4.tar.bz2, 1.8.4.tar.bz2

pm010102.hex
rf010804.hex
I put these file in /etc/pcmcia/firmware I did “mkdir firmware”
Don’t know if they are the right ones.

Files I can’s find:
/etc/pcmcia/hostap_cs.conf: don’t know where it is or if it is suppose to be +x file.
I made the file /etc/pcmcia/hostap_cs.conf and it contains

card "SanDisk ConnectPlus"
version "SanDisk", "ConnectPlus"
manfid 0xd601, 0x0101
bind "hostap_cs" to 0
# bind "ide-cs" to 1

/usr/sbin/prism2_srec: this one is still in the folder hostap-utils-0.4.7.
So I copy it over to /usr/sbin.

prism3 firmware: where can I fine this one. I google for days.

scrip:
I made a scrip call /usr/sbin/sandwifi.sh and it contains

#!/bin/sh

FIRMLOC=/etc/pcmcia/firmware
IFNAME=wlan0

echo "Uploading firmware to Wifi card."

prism2_srec -gs $IFNAME $FIRMLOC/pm010102.hex
prism2_srec -gp $IFNAME $FIRMLOC/pm010102.hex
iwpriv $IFNAME reset 1
prism2_srec -rp $IFNAME $FIRMLOC/rf010804.hex
iwconfig $IFNAME mode 2

Sites I have been on: that make some sense for other OS.

http://electrons.psychogenic.com/mod...LinuxiPAQs.php

http://www.dsitri.de/phpBB2/viewforum.php?f=21

Second part

I wipe the laptop clean and install slackware12.2 hopping for better luck, know nether of my cards get detected it’s like the CF slot on the laptop is dead.
Can someone plz tell me how to get the CF slot back to auto mount.

I wipe the laptop clean and went back to 12.0 but will go back to 12.2 for the auto mount answer.

Thanks for your help.

Drakeo 02-08-2009 10:07 PM

this uses prism 3 drivers. I know wow great support so read this. I sent this from My company to there Asian cooperate and there kids go to school here at this University.They live down the street.
Quote:

why would any body exclude 43 million people from there market I would fire my sales and tech teem in a minute. or is Microsoft going to own you . doubt it 43 million users of Linux and you cant figure out how to sale your product to 43 million people I would close my doors if I was that ignorant. 10 cents per person would pay the bill better yet a simple grant to the University of Illinois and let some one do it for a lot less and now you still own the code. prism 3 wow thanks for the support Dell,HP,Ibm,Assus is laughing at this type of mistake. come on guys get it together if you want to make and sale hardware and you want cutting edge support Linux.
I walk right by the crap at walmart it is not good drivers or firm ware this is 2009 and people look in to this now. bad wine good wine cheap wine. 43 million users. wow your fired.
prism 3 configure it.

slackerforlife 02-10-2009 05:44 PM

prism 3 configure it
 
Hello

Slackware 12.0 or 12.2

I have been reading about that, but i can't find
the prism 3 firmware all the site are down.
so if you where i can get one plz do tell.

I did fine one site that said they have it, but I
have to pay to join first so i did. but when i pay to join the did not have it. Can u say scam!!.

ok I did find a hostap_cs.c file in:

/usr/src/linux-2.6.21.5/drivers/net/wireless/hostap

Content:
Quote:

/*
* SanDisk CompactFlash WLAN Flashcard - Product Manual v1.0
* Document No. 20-10-00058, January 2004
* http://www.sandisk.com/pdf/industria...CFWLANv1.0.pdf
*/
#define SANDISK_WLAN_ACTIVATION_OFF 0x40
#define SANDISK_HCR_OFF 0x42


static void sandisk_set_iobase(local_info_t *local)
{
int res;
conf_reg_t reg;
struct hostap_cs_priv *hw_priv = local->hw_priv;

reg.Function = 0;
reg.Action = CS_WRITE;
reg.Offset = 0x10; /* 0x3f0 IO base 1 */
reg.Value = hw_priv->link->io.BasePort1 & 0x00ff;
res = pcmcia_access_configuration_register(hw_priv->link,
&reg);
if (res != CS_SUCCESS) {
printk(KERN_DEBUG "Prism3 SanDisk - failed to set I/O base 0 -"
" res=%d\n", res);
}
udelay(10);

reg.Function = 0;
reg.Action = CS_WRITE;
reg.Offset = 0x12; /* 0x3f2 IO base 2 */
reg.Value = (hw_priv->link->io.BasePort1 & 0xff00) >> 8;
res = pcmcia_access_configuration_register(hw_priv->link,
&reg);
if (res != CS_SUCCESS) {
printk(KERN_DEBUG "Prism3 SanDisk - failed to set I/O base 1 -"
" res=%d\n", res);
}
}


static void sandisk_write_hcr(local_info_t *local, int hcr)
{
struct net_device *dev = local->dev;
int i;

HFA384X_OUTB(0x80, SANDISK_WLAN_ACTIVATION_OFF);
udelay(50);
for (i = 0; i < 10; i++) {
HFA384X_OUTB(hcr, SANDISK_HCR_OFF);
}
udelay(55);
HFA384X_OUTB(0x45, SANDISK_WLAN_ACTIVATION_OFF);
}


static int sandisk_enable_wireless(struct net_device *dev)
{
int res, ret = 0;
conf_reg_t reg;
struct hostap_interface *iface = dev->priv;
local_info_t *local = iface->local;
tuple_t tuple;
cisparse_t *parse = NULL;
u_char buf[64];
struct hostap_cs_priv *hw_priv = local->hw_priv;

if (hw_priv->link->io.NumPorts1 < 0x42) {
/* Not enough ports to be SanDisk multi-function card */
ret = -ENODEV;
goto done;
}

parse = kmalloc(sizeof(cisparse_t), GFP_KERNEL);
if (parse == NULL) {
ret = -ENOMEM;
goto done;
}

tuple.Attributes = TUPLE_RETURN_COMMON;
tuple.TupleData = buf;
tuple.TupleDataMax = sizeof(buf);
tuple.TupleOffset = 0;

if (hw_priv->link->manf_id != 0xd601 || hw_priv->link->card_id != 0x0101) {
/* No SanDisk manfid found */
ret = -ENODEV;
goto done;
}

tuple.DesiredTuple = CISTPL_LONGLINK_MFC;
if (pcmcia_get_first_tuple(hw_priv->link, &tuple) ||
pcmcia_get_tuple_data(hw_priv->link, &tuple) ||
pcmcia_parse_tuple(hw_priv->link, &tuple, parse) ||
parse->longlink_mfc.nfn < 2) {
/* No multi-function links found */
ret = -ENODEV;
goto done;
}

printk(KERN_DEBUG "%s: Multi-function SanDisk ConnectPlus detected"
" - using vendor-specific initialization\n", dev->name);
hw_priv->sandisk_connectplus = 1;

reg.Function = 0;
reg.Action = CS_WRITE;
reg.Offset = CISREG_COR;
reg.Value = COR_SOFT_RESET;
res = pcmcia_access_configuration_register(hw_priv->link,
&reg);
if (res != CS_SUCCESS) {
printk(KERN_DEBUG "%s: SanDisk - COR sreset failed (%d)\n",
dev->name, res);
goto done;
}
mdelay(5);

reg.Function = 0;
reg.Action = CS_WRITE;
reg.Offset = CISREG_COR;
/*
* Do not enable interrupts here to avoid some bogus events. Interrupts
* will be enabled during the first cor_sreset call.
*/
reg.Value = COR_LEVEL_REQ | 0x8 | COR_ADDR_DECODE | COR_FUNC_ENA;
res = pcmcia_access_configuration_register(hw_priv->link,
&reg);
if (res != CS_SUCCESS) {
printk(KERN_DEBUG "%s: SanDisk - COR sreset failed (%d)\n",
dev->name, res);
goto done;
}
mdelay(5);

sandisk_set_iobase(local);

HFA384X_OUTB(0xc5, SANDISK_WLAN_ACTIVATION_OFF);
udelay(10);
HFA384X_OUTB(0x4b, SANDISK_WLAN_ACTIVATION_OFF);
udelay(10);

done:
kfree(parse);
return ret;
}
This is only the part about Sandisk, can you tell if i can edit
this to get the wifi working on the card? and how.

can i get some help plz.

Drakeo 02-13-2009 09:01 AM

prism three firm ware is built in to the kernel and all firm ware in slackware is stored /lib/firmware according to your read out you stuff is loaded but not configured yeap a simple ifconfig wlan0 up would turn it on. this is a program called wicd from slackbuild.org. we have been using it for years. this will help you out and this will allow you to choose every type of conectin it will help you configure it and keep a profile this program is for 12.0 but there is one for 12.1 12.2 it most probably will be in the next distro release. this says I am detecteted and waiting to be activated for use
Quote:

printk(KERN_DEBUG "%s: Multi-function SanDisk ConnectPlus detected"
" - using vendor-specific initialization\n", dev->name);
hw_priv->sandisk_connectplus = 1;
this is say I am set to off.
Quote:

HFA384X_OUTB(0xc5, SANDISK_WLAN_ACTIVATION_OFF);
udelay(10);
HFA384X_OUTB(0x4b, SANDISK_WLAN_ACTIVATION_OFF);
udelay(10);
wicd does all your wpa supplicant stuff.
if all else fails use a ndiswrapper and wicd will help you load that module also if you install ndiswrapper and have the windows inf file.
Quote:

prism 3 has been supported by the kernel even in 12.0 if any extra firmware is needed install to /lib/firmware because Slackware scripts load from /lib/firmware
and here is your ndiswraper to build

Drakeo 02-13-2009 09:16 AM

One more thing as root type dmesg and post it.

slackerforlife 02-14-2009 06:23 PM

#dmesg
Code:

Linux version 2.6.21.5-smp (root@midas) (gcc version 4.1.2) #2 SMP Tue Jun 19 14:58:11 CDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize end
copy_e820_map() start: 0000000000000000 size: 000000000009fc00 end: 000000000009fc00 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000000009fc00 size: 0000000000000400 end: 00000000000a0000 type: 2
copy_e820_map() start: 00000000000e8000 size: 0000000000004000 end: 00000000000ec000 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() lies in range...
copy_e820_map() end <= 0x100000ULL
copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end: 0000000000100000 type: 2
copy_e820_map() start: 0000000000100000 size: 0000000007ee0000 end: 0000000007fe0000 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 0000000007fe0000 size: 0000000000010000 end: 0000000007ff0000 type: 3
copy_e820_map() start: 0000000007ff0000 size: 0000000000010000 end: 0000000008000000 type: 2
copy_e820_map() start: 00000000100a0000 size: 0000000000016e00 end: 00000000100b6e00 type: 2
copy_e820_map() start: 00000000100b6e00 size: 0000000000000200 end: 00000000100b7000 type: 4
copy_e820_map() start: 00000000100b7000 size: 0000000000049000 end: 0000000010100000 type: 2
copy_e820_map() start: 00000000fff80000 size: 0000000000080000 end: 0000000100000000 type: 2
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000007fe0000 (usable)
 BIOS-e820: 0000000007fe0000 - 0000000007ff0000 (ACPI data)
 BIOS-e820: 0000000007ff0000 - 0000000008000000 (reserved)
 BIOS-e820: 00000000100a0000 - 00000000100b6e00 (reserved)
 BIOS-e820: 00000000100b6e00 - 00000000100b7000 (ACPI NVS)
 BIOS-e820: 00000000100b7000 - 0000000010100000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
127MB LOWMEM available.
Entering add_active_range(0, 0, 32736) 0 entries of 256 used
Zone PFN ranges:
  DMA            0 ->    4096
  Normal      4096 ->    32736
  HighMem    32736 ->    32736
early_node_map[1] active PFN ranges
    0:        0 ->    32736
On node 0 totalpages: 32736
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 223 pages used for memmap
  Normal zone: 28417 pages, LIFO batch:7
  HighMem zone: 0 pages used for memmap
DMI 2.1 present.
ACPI: RSDP 000F0160, 0014 (r0 TOSHIB)
ACPI: RSDT 07FE0000, 0028 (r1 TOSHIB 750        970814 TASM  4010000)
ACPI: FACP 07FE0054, 0074 (r1 TOSHIB 750        970814 TASM  4010000)
ACPI: DSDT 07FE00C8, 563B (r1 TOSHIB 4030    19991112 MSFT  100000A)
ACPI: FACS 100B6E00, 0040
ACPI: PM-Timer IO Port: 0xfe08
Allocating PCI resources starting at 20000000 (gap: 10100000:efe80000)
Built 1 zonelists.  Total pages: 32481
Kernel command line: BOOT_IMAGE=Linux ro root=301
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (0110a000)
Enabling fast FPU save and restore... done.
Initializing CPU#0
PID hash table entries: 512 (order: 9, 2048 bytes)
Detected 399.928 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 120016k/130944k available (6215k kernel code, 10436k reserved, 2017k data, 392k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xffe17000 - 0xfffff000  (1952 kB)
    pkmap  : 0xff800000 - 0xffc00000  (4096 kB)
    vmalloc : 0xc8800000 - 0xff7fe000  ( 879 MB)
    lowmem  : 0xc0000000 - 0xc7fe0000  ( 127 MB)
      .init : 0xc0915000 - 0xc0977000  ( 392 kB)
      .data : 0xc0711c79 - 0xc090a38c  (2017 kB)
      .text : 0xc0100000 - 0xc0711c79  (6215 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 800.76 BogoMIPS (lpj=1601528)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0183f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps: 0183f9ff 00000000 00000000 00000040 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 24k freed
ACPI: Core revision 20070126
ACPI: setting ELCR to 0200 (from 0a08)
CPU0: Intel Mobile Pentium II stepping 0a
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfedcd, last bus=21
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:00:04.0
* Found PM-Timer Bug on the chipset. Due to workarounds for a bug,
* this clock source is slow. Consider trying other clock sources
PCI quirk: region fe00-fe3f claimed by PIIX4 ACPI
PCI quirk: region fe70-fe7f claimed by PIIX4 SMB
PIIX4 devres B PIO at 006c-006f
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 5 6 7 10 *11 12)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 6 7 10 *11 12)
ACPI: PCI Interrupt Link [LNKC] (IRQs 5 6 7 10 *11 12)
ACPI: PCI Interrupt Link [LNKD] (IRQs 5 6 7 10 *11 12)
ACPI: PCI Interrupt Link [LNKE] (IRQs *3 4)
ACPI: Power Resource [PIHD] (on)
ACPI: Power Resource [PMHD] (on)
ACPI: Power Resource [PFAN] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
PCI: setting IRQ 13 as level-triggered
pnp: PnP ACPI: found 12 devices
SCSI subsystem initialized
libata version 2.20 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
pnp: 00:00: iomem range 0x0-0x9ffff could not be reserved
pnp: 00:00: iomem range 0x0-0x0 could not be reserved
pnp: 00:00: iomem range 0xf0000-0xfffff could not be reserved
pnp: 00:00: iomem range 0x100000-0x7fdffff could not be reserved
Time: tsc clocksource has been installed.
ieee1394: Initialized config rom entry `ip1394'
PCI: Bus 1, cardbus bridge: 0000:00:02.0
  IO window: 00001000-000010ff
  IO window: 00001400-000014ff
  PREFETCH window: 20000000-23ffffff
  MEM window: 24000000-27ffffff
PCI: Bus 5, cardbus bridge: 0000:00:02.1
  IO window: 00001800-000018ff
  IO window: 00002000-000020ff
  PREFETCH window: 28000000-2bffffff
  MEM window: 2c000000-2fffffff
PCI: Enabling device 0000:00:02.0 (0000 -> 0003)
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:02.0 to 64
PCI: Enabling device 0000:00:02.1 (0000 -> 0003)
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:02.1 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 49152 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
apm: BIOS version 1.2 Flags 0x02 (Driver version 1.16ac)
apm: overridden by ACPI.
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NTFS driver 2.1.28 [Flags: R/W].
JFS: nTxBlock = 938, nTxLock = 7509
SGI XFS with ACLs, security attributes, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
OCFS2 1.3.3
OCFS2 Node Manager 1.3.3
OCFS2 DLM 1.3.3
OCFS2 DLMFS 1.3.3
OCFS2 User DLM kernel interface loaded
GFS2 (built Jun 19 2007 14:57:33) installed
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Limiting direct PCI/PCI transfers.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
vesafb: framebuffer at 0xff800000, mapped to 0xc8900000, using 1536k, total 2560k
vesafb: mode is 1024x768x8, linelength=1024, pages=2
vesafb: protected mode interface info at c000:6d5e
vesafb: pmi: set display start = c00c6d73, set palette = c00c6dd4
vesafb: scrolling: redraw
vesafb: Pseudocolor: size=6:6:6:6, shift=0:0:0:0
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
Switched to high resolution mode on CPU 0
Real Time Clock Driver v1.12ac
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is an 8272A
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
Compaq SMART2 Driver (v 2.6.0)
HP CISS Driver (v 3.6.14)
input: Macintosh mouse button emulation as /class/input/input0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:05.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xfe60-0xfe67, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfe68-0xfe6f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: IBM-DBCA-206480, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: TOSHIBA DVD-ROM SD-C2202, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 12685680 sectors (6495 MB) w/420KiB Cache, CHS=13424/15/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2
hdc: ATAPI 24X DVD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
Loading iSCSI transport class v2.0-724.
iscsi: registered transport (tcp)
Loading Adaptec I2O RAID: Version 2.4 Build 5go
Detecting Adaptec I2O RAID controllers...
Adaptec aacraid driver (1.1-5[2423]-mh3)
aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.3 loaded
scsi: <fdomain> Detection failed (no card)
sym53c416.c: Version 1.0.0-ac
qlogicfas: no cards were found, please specify I/O address and IRQ using iobase= and irq= options<6>QLogic Fibre Channel HBA Driver
iscsi: registered transport (qla4xxx)
QLogic iSCSI HBA Driver
Emulex LightPulse Fibre Channel SCSI driver 8.1.11
Copyright(c) 2004-2006 Emulex.  All rights reserved.
seagate: ST0x/TMC-8xx not detected.
Failed initialization of WD-7000 SCSI card!
DC390: clustering now enabled by default. If you get problems load
        with "disable_clustering=1" and report to maintainers
megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 2006)
megasas: 00.00.03.10-rc1 Wed Feb 14 10:14:25 PST 2007
GDT-HA: Storage RAID Controller Driver. Version: 3.05
GDT-HA: Found 0 PCI Storage RAID Controllers
3ware Storage Controller device driver for Linux v1.26.02.002.
3ware 9000 Storage Controller device driver for Linux v2.26.02.008.
nsp32: loading...
ipr: IBM Power RAID SCSI Device Driver version: 2.3.1 (January 23, 2007)
RocketRAID 3xxx SATA Controller driver v1.0 (060426)
st: Version 20070203, fixed bufsize 32768, s/g segs 256
I2O subsystem v1.325
i2o: max drivers = 8
I2O Configuration OSM v1.323
I2O Bus Adapter OSM v1.317
I2O Block Device OSM v1.325
I2O SCSI Peripheral OSM v1.316
I2O ProcFS OSM v1.316
Fusion MPT base driver 3.04.04
Copyright (c) 1999-2007 LSI Logic Corporation
Fusion MPT SPI Host driver 3.04.04
Fusion MPT FC Host driver 3.04.04
Fusion MPT SAS Host driver 3.04.04
usbmon: debugfs is not available
116x: driver isp116x-hcd, 03 Nov 2005
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:05.2[D] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:05.2: UHCI Host Controller
uhci_hcd 0000:00:05.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:05.2: irq 11, io base 0x0000ffe0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
sl811: driver sl811-hcd, 19 May 2005
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
raid6: int32x1    117 MB/s
raid6: int32x2    120 MB/s
raid6: int32x4    114 MB/s
raid6: int32x8    107 MB/s
raid6: mmxx1      330 MB/s
raid6: mmxx2      394 MB/s
raid6: using algorithm mmxx2 (394 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
raid5: measuring checksumming speed
  8regs    :  739.000 MB/sec
  8regs_prefetch:  627.000 MB/sec
  32regs    :  356.000 MB/sec
  32regs_prefetch:  335.000 MB/sec
  pII_mmx  :  1044.000 MB/sec
  p5_mmx    :  1077.000 MB/sec
raid5: using function: p5_mmx (1077.000 MB/sec)
md: multipath personality registered for level -4
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
input: AT Translated Set 2 keyboard as /class/input/input1
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 392k freed
kobject_add failed for uhci_hcd with -EEXIST, don't try to register things with the same name in the same directory.
 [<c03e86f7>] kobject_shadow_add+0x117/0x1a0
 [<c013fba4>] mod_sysfs_setup+0x24/0xb0
 [<c0141458>] sys_init_module+0x1648/0x1940
 [<c0102ae8>] syscall_call+0x7/0xb
 [<c0710000>] __mutex_lock_slowpath+0x40/0x90
 =======================
Yenta: CardBus bridge found at 0000:00:02.0 [1179:0001]
i2c_core: exports duplicate symbol i2c_smbus_write_i2c_block_data (owned by kernel)
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000011
Yenta: CardBus bridge found at 0000:00:02.1 [1179:0001]
Linux video capture interface: v2.00
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000007
piix4_smbus 0000:00:05.3: Found 0000:00:05.3 device
ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
videodev: "Maestro radio" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/
NET: Registered protocol family 23
maestro_radio: probe of 0000:00:0c.0 failed with error -5
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
IrDA: Registered device irda0
toshoboe: Using multiple tasks, version $Id: donauboe.c V2.18 ven jan 10 03:14:16 2003$
pccard: PCMCIA card inserted into slot 0
es1968: clocking to 48000
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0x800-0x80f: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x100-0x3af: excluding 0x378-0x37f
cs: IO port probe 0xa00-0xaff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
pcmcia: registering new device pcmcia0.0
pcmcia: registering new device pcmcia0.1
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0x800-0x80f: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x100-0x3af: excluding 0x378-0x37f
cs: IO port probe 0xa00-0xaff: clean.
ata1: PATA max PIO0 cmd 0x00010100 ctl 0x0001010e bmdma 0x00000000 irq 3
scsi2 : pata_pcmcia
ata1.00: CFA: SanDisk SDWCFB-128, Vdg 8.21, max PIO1
ata1.00: 250880 sectors, multi 0: LBA
ata1.00: configured for PIO0
scsi 2:0:0:0: Direct-Access    ATA      SanDisk SDWCFB-1 Vdg  PQ: 0 ANSI: 5
SCSI device sda: 250880 512-byte hdwr sectors (128 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: disabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sda: 250880 512-byte hdwr sectors (128 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 < sda5 >
sd 2:0:0:0: Attached scsi removable disk sda
sd 2:0:0:0: Attached scsi generic sg0 type 0
Adding 465876k swap on /dev/hda2.  Priority:-1 extents:1 across:465876k
input: PC Speaker as /class/input/input2
input: PS/2 Generic Mouse as /class/input/input3
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
lp0: using parport0 (interrupt-driven).
lp0: console ready
Linux agpgart interface v0.102 (c) Dave Jones
Capability LSM initialized
NET: Registered protocol family 10
lo: Disabled Privacy Extensions

#lspcmcia -vvv
Code:

Socket 0 Bridge:        [yenta_cardbus]        (bus ID: 0000:00:02.0)
        Configuration:  state: on      ready: yes
                        Voltage: 3.3V Vcc: 3.3V Vpp: 0.0V
                        Available IRQs: 3, 5, 10
                        Available ioports:      0x00000100 - 0x00000377
                                                0x00000380 - 0x000003af
                                                0x000003e0 - 0x000004cf
                                                0x000004d8 - 0x000004ff
                                                0x00000800 - 0x0000080f
                                                0x00000820 - 0x000008ff
                                                0x00000a00 - 0x00000aff
                                                0x00000c00 - 0x00000cff
                        Available iomem:        0x000c0000 - 0x000fffff
                                                0xa0000000 - 0xa0ffffff
Socket 0 Device 0:      [-- no driver --]      (bus ID: 0.0)
        Configuration:  state: on
        Product Name:  SanDisk ConnectPlus
        Identification: manf_id: 0xd601 card_id: 0x0101
                        function: 6 (network)
                        prod_id(1): "SanDisk" (0x7a954bd9)
                        prod_id(2): "ConnectPlus" (0x74be00c6)
                        prod_id(3): --- (---)
                        prod_id(4): --- (---)
Socket 0 Device 1:      [pata_pcmcia]          (bus ID: 0.1)
        Configuration:  state: on
        Product Name:  SanDisk ConnectPlus
        Identification: manf_id: 0xd601 card_id: 0x0101
                        function: 6 (network)
                        prod_id(1): "SanDisk" (0x7a954bd9)
                        prod_id(2): "ConnectPlus" (0x74be00c6)
                        prod_id(3): --- (---)
                        prod_id(4): --- (---)
Socket 1 Bridge:        [yenta_cardbus]        (bus ID: 0000:00:02.1)
        Configuration:  state: on      ready: yes
                        Available IRQs: 3, 5, 10
                        Available ioports:      0x00000100 - 0x00000377
                                                0x00000380 - 0x000003af
                                                0x000003e0 - 0x000004cf
                                                0x000004d8 - 0x000004ff
                                                0x00000800 - 0x0000080f
                                                0x00000820 - 0x000008ff
                                                0x00000a00 - 0x00000aff
                                                0x00000c00 - 0x00000cff
                        Available iomem:        0x000c0000 - 0x000fffff
                                                0x60000000 - 0x60ffffff
                                                0xa0000000 - 0xa0ffffff

#ifconfig
Code:

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:128 errors:0 dropped:0 overruns:0 frame:0
          TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11040 (10.7 KiB)  TX bytes:11040 (10.7 KiB)

# iwconfig
Code:

lo        no wireless extensions.

irda0    no wireless extensions.

# lspci
Code:

00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) (rev 03)
00:02.0 CardBus bridge: Toshiba America Info Systems ToPIC97 (rev 05)
00:02.1 CardBus bridge: Toshiba America Info Systems ToPIC97 (rev 05)
00:04.0 VGA compatible controller: Trident Microsystems Cyber 9525 (rev 49)
00:05.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:05.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:05.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:05.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:07.0 Communication controller: Agere Systems 56k WinModem (rev 01)
00:0a.0 Communication controller: Toshiba America Info Systems FIR Port (rev 23)
00:0c.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)

I place the 2 file rf010804.hex , pm010102.hex witch i read to be the firmware in /lib/firmware.

I did install wireless-tools-29-i486-4.tgz, wpa_supplicant-0.5.7-i486-1.tgz, and did a slackbuild install for wicd_1.4.2-src.tar.bz, ndiswrapper-1.47.tar.gz but no luck.

and there is no prism 3 on my system.

slackerforlife 02-25-2009 07:33 PM

help me set up the card plz
 
hello yall ok so i install ndiswrapper but i still can't get the card setup can some look over my dmesg post and tell what i need to do to turn on

Drakeo 02-25-2009 11:28 PM

I read it ok linux recognize the hardware lets look at you lsmod type lsmod and post it. We will see if the module is loaded .

slackerforlife 02-26-2009 11:26 AM

lsmod
 
bash-3.1# lsmod
Code:

Module                  Size  Used by
vmnet                  46004  12
vmblock                16288  3
vmmon                942252  0
snd_seq_dummy          6788  0
snd_seq_oss            32896  0
snd_seq_midi_event    10112  1 snd_seq_oss
snd_seq                50640  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            42784  0
snd_mixer_oss          18048  1 snd_pcm_oss
ipv6                  254496  12
capability              7304  0
commoncap              9344  1 capability
ndiswrapper          185884  0
agpgart                31432  0
lp                    13736  0
parport_pc            27812  1
parport                34760  2 lp,parport_pc
pcspkr                  6528  0
psmouse                39048  0
sg                    30364  0
ide_cs                12800  0
pata_pcmcia            13824  1
pcmcia                34988  2 ide_cs,pata_pcmcia
serio_raw              9220  0
snd_es1968            27776  0
gameport              15112  1 snd_es1968
snd_ac97_codec        98980  1 snd_es1968
ac97_bus                6016  1 snd_ac97_codec
snd_pcm                72068  3 snd_pcm_oss,snd_es1968,snd_ac97_codec
snd_timer              22532  2 snd_seq,snd_pcm
i2c_piix4              11276  0
snd_page_alloc        11528  2 snd_es1968,snd_pcm
snd_mpu401_uart        10496  1 snd_es1968
donauboe              14208  0
snd_rawmidi            22560  1 snd_mpu401_uart
snd_seq_device        10508  4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd                    47204  11 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_es1968,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
irda                  117176  1 donauboe
soundcore              9824  1 snd
crc_ccitt              5888  2 donauboe,irda
radio_maestro          10368  0
compat_ioctl32          5248  1 radio_maestro
videodev              29184  1 radio_maestro
v4l2_common            18688  1 videodev
v4l1_compat            17668  2 radio_maestro,videodev
yenta_socket          27148  5
rsrc_nonstatic        14848  1 yenta_socket
pcmcia_core            36500  5 ide_cs,pata_pcmcia,pcmcia,yenta_socket,rsrc_nonstatic
ata_generic            9220  0
evdev                  11904  1

bash-3.1#

Drakeo 02-27-2009 03:53 AM

Is there a reason why you are running ndiswrapper because if it is loading it may not load the prism driver. so if you installed the ndiswrapper module that loads a windows inf file to use the windows driver in linux. This will keep you from using the kernel driver.

then also if you are going to use the ndiswrapper then have it load the inf file that is windows driver please read the ndiswrapper how to. Just remember since ndiswrapper is loaded it will not load the kernel driver for the device just the windows inf file.
ndiswrapper emulates the windows environment for that module.

Drakeo 02-27-2009 03:53 AM

Is there a reason why you are running ndiswrapper because if it is loading it may not load the prism driver. so if you installed the ndiswrapper module that loads a windows inf file to use the windows driver in linux. This will keep you from using the kernel driver.

then also if you are going to use the ndiswrapper then have it load the inf file that is windows driver please read the ndiswrapper how to. Just remember since ndiswrapper is loaded it will not load the kernel driver for the device just the windows inf file.
ndiswrapper emulates the windows environment for that module.

slackerforlife 02-27-2009 02:12 PM

I was just trying the ndiswrapper because nothing else is working.
The ndiswrapper is installed ok as far as I know but the thing is
The driver for the sandisk128+wifi card for windows xp is
WlanNDS.sys in Device Manager there is no .inf file with that name.
The setup.exe also install a file call WLANNIC.inf.
when I install (WLANNIC.inf.) the card still does not load.
Is there a way to install the wlanNDS.sys file?
When I try:
Code:

#ndiswrapper –i /path/wlanNDS.sys
I get (install argument must be .inf file)
I even tried:
Code:

#ndiswrapper –i /path/WLANNIC.inf /path/wlanNDS.sys
But only WLANNIC gets installed .

If you want I can uninstall ndiswrapper.

Then what? Plz step by step my knowledge of linux is low

How do I get linux to load the kernel driver for the device
and turn the card on?



Thanks for your help and fast reply in advance.

Drakeo 02-28-2009 11:07 AM

you know this card is supported with the 2.6.27.7 kernel and firmware that comes wih the slackware 12.2. you need to stat over and uninstall the ndiswrapper. And install now when you reboot you must have it all plugged in and let wicd do it's thing. then go configure the card to connect. if using 12.1 the the older system need the firmware and and build the modules for it. the modules.

Drakeo 02-28-2009 11:07 AM

you know this card is supported with the 2.6.27.7 kernel and firmware that comes wih the slackware 12.2. you need to stat over and uninstall the ndiswrapper. And install now when you reboot you must have it all plugged in and let wicd do it's thing. then go configure the card to connect. if using 12.1 the the older system need the firmware and and build the modules for it. the modules.

slackerforlife 03-01-2009 11:20 AM

That’s what I read somewhere, but the thing is when I install
Slackware 12.2 my CF slot seems to be dead.
Both cards don’t get pick up by the system.
That is why I was running slackware 12.0
“Xircom Ethernet 10/100 card.”
“SanDisk 128mb/wifi card” not even the memory.
Do u know how to get them up and running on
Slackware 12.2.

Just tell me what you want to see as I reinstall 12.2


All times are GMT -5. The time now is 08:52 PM.