![]() ![]() |
Jun 22 2006, 05:55 PM
Post
#1
|
|
|
Group: Members Posts: 57 Joined: 18-June 06 From: Saudi Arabia/Riyadh Member No.: 10,193 |
Good day everyone
i just installed openbsd on sl-c3200 (the easy way i'm using cacko 1.23 rom) from the console i unmounted /dev/hda3 then start (fdisk /dev/hda) and deleted the FAT partition then i added 1GB FAT partition type [c], then the rest of the disk type [a6] OpenBSD after that i mkfs.vfat the /dev/hd3 and mount it to /mnt/hda3 and switch to there and grabed all the packages of the snapshot (base39.tgz ..etc) using the wget ( i did that to use disk installation, i installed the openbsd ipk on cacko and just followed the installation proccess my problem now when i plug my wireless card it gives me this error CODE wi0 at pcmcia1 function 0 "PLANEX COMMUNICATIONS INC., PLANEX GW-CF11X Wireless CF Card, " port 8x0/64, irq 137 wi0: init failed : unable to read station address any idea guys what todo now? do i have to install the wireless driver (Hostap) or firmware? if so where to get it from? the GW-CF11X card has prism3 chipset, and yeah by the way since i'm new to openBSD where to tweak make file? i mean the compiler option to use xscale insted of arm optimization thanks |
|
|
|
Jun 23 2006, 08:00 AM
Post
#2
|
|
![]() Group: Members Posts: 1,248 Joined: 6-July 04 Member No.: 3,928 |
This is an indication that the driver has recognised the card resources but not the Vendor code of the card. Give me the first 6 digits of the Ethernet address please.
Could you also provide any revision info shown on the card too please. The Kernel is automatically tweaked for XScale when built. If you want to build certain apps in the ports tree with XScale optimisations try.. export CFLAGS="-mcpu=xscale" export CPPFLAGS="-mcpu=xscale" prior to building -Andy |
|
|
|
Jun 23 2006, 04:59 PM
Post
#3
|
|
|
Group: Members Posts: 57 Joined: 18-June 06 From: Saudi Arabia/Riyadh Member No.: 10,193 |
hi iamasmith
ok here is the info GW-CF11X PLANEX Node ID 0090CC dmesg: CODE OpenBSD 3.9-current (GENERIC) #56: Wed Jun 21 12:06:24 MDT 2006 deraadt@zaurus.openbsd.org:/usr/src/sys/arch/zaurus/compile/GENERIC real mem = 67108864 (65536K) 64MB avail mem = 53313536 (52064K) using 844 buffers containing 3457024 bytes (3376K) of memory mainbus0 (root) cpu0 at mainbus0: PXA27x step C-5 (XScale core) cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled cpu0: 32KB(32b/l,32way) I-cache, 32KB(32b/l,32way) wr-back-lock D-cache pxaip0 at mainbus0: CPU clock = 416.000 MHz pxaintc0 at pxaip0 addr 0x40d00000: Interrupt Controller pxagpio0 at pxaip0 addr 0x40e00000: GPIO Controller pxadmac0 at pxaip0 addr 0x40000000 intr 25: DMA Controller pxaost0 at pxaip0 addr 0x40a00000 com0 at pxaip0 addr 0x40100000 intr 22: pxa2x0, 32 byte fifo com1 at pxaip0 addr 0x40200000 intr 21: pxa2x0, 32 byte fifo com2 at pxaip0 addr 0x40700000 intr 20: pxa2x0, 32 byte fifo (SIR) pxaudc0 at pxaip0: USB Device Controller ohci0 at pxaip0, version 1.0 usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: PXA27x OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered lcd0 at pxaip0 wsdisplay0 at lcd0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1 added (std, vt100 emulation) zkbd0 at pxaip0 wskbd0 at zkbd0: console keyboard, using wsdisplay0 scoop0 at pxaip0: PCMCIA/GPIO controller scoop1 at pxaip0: PCMCIA/GPIO controller pxapcic0 at pxaip0: 2 slots pcmcia0 at pxapcic0 pcmcia1 at pxapcic0 zssp0 at pxaip0 apm0 at pxaip0 zts0 at pxaip0 wsmouse0 at zts0 mux 0 zaudio0 at pxaip0: I2C, I2S, WM8750 Audio audio0 at zaudio0 zrc0 at pxaip0: CE-RH2 remote control wskbd1 at zrc0 mux 1 wskbd1: connecting to wsdisplay0 clock: hz=100 stathz=64 wdc0 at pcmcia0 function 0 "HITACHI, microdrive" port 0x0/16: irq 138 wd0 at wdc0 channel 0 drive 0: <HMS360606D5CF00> wd0: 32-sector PIO, LBA, 5859MB, 12000556 sectors wd0(wdc0:0:0): using BIOS timings wi0 at pcmcia1 function 0 "PLANEX COMMUNICATIONS INC., PLANEX GW-CF11X Wireless CF Card, " port 0x0/64, irq 137 wi0: init failed : unable to read station address boot device: wd0. rootdev=0x1000 rrootdev=0x1000 rawdev=0x1002 thanks |
|
|
|
Jun 24 2006, 03:28 AM
Post
#4
|
|
![]() Group: Members Posts: 1,248 Joined: 6-July 04 Member No.: 3,928 |
ok, could I ask you to do one more thing.. to get the actual CF vendor ids for the card could you boot with a kernel that has the wi driver disabled please?
to create that kernel login as root then.. config -e -o /bsd.test /bsd disable wi q This will create bsd.test with wi disabled. Next reboot and when you see the boot manager type bsd.test and hit return - this will boot the newly configured kernel. Now plug in the card and please report the full contents of the line of the unconfigured device. Regards, -Andy |
|
|
|
Jun 24 2006, 07:02 PM
Post
#5
|
|
|
Group: Members Posts: 57 Joined: 18-June 06 From: Saudi Arabia/Riyadh Member No.: 10,193 |
Hi iamasmith,
i'm sorry i wont able to do this today, (is there any way to get this information within linux?) The last two days I was switching between roms to get my work done, anyway when I couldn’t get the wireless to work with OpenBSD I switched quickly to OZ hentges rom I don’t want to mess the zaurus configures today I may start on that within two days, and yeah can I boot to openBSD with 2.6 kernel? Is there a way to do that? I’m planning to use OZ and OBSD together Thanks for helping out, u will be bothered by me from now on |
|
|
|
Jun 25 2006, 02:20 AM
Post
#6
|
|
![]() Group: Members Posts: 1,248 Joined: 6-July 04 Member No.: 3,928 |
cardctl ident
may give you the information that I'm after under Linux. I haven't tried booting OpenBSD from 2.6 Kernel but the current module is compiled with 2.4 Kernel information inside. It may be possible to get it working as a 2.6 Kernel module but I suggest that you post this question to the arm@openbsd.org mailing list. Note that the Kernel loader module (zbsdmod.o) is actually built under OpenBSD and not with a 2.4 Linux Kernel source. see the source in /sys/arch/zaurus/stand/zbsdmod - it may be possible to modify this for a 2.6 Kernel. -Andy |
|
|
|
Jun 25 2006, 05:09 AM
Post
#7
|
|
|
Group: Members Posts: 57 Joined: 18-June 06 From: Saudi Arabia/Riyadh Member No.: 10,193 |
Hi Andy,
here is the log out of pccardctl ident product info: "PLANEX COMMUNICATION INC.", "PLANEX GW-CF11X Wireless CF Card", "", "" manfid: 0xd601, 0x0010 function: 6 (network) i wish to get the card working, i will switch to openBSD with full HD install using your guide. thanks for help. |
|
|
|
Jun 25 2006, 09:38 AM
Post
#8
|
|
![]() Group: Members Posts: 1,248 Joined: 6-July 04 Member No.: 3,928 |
OK, thanks, I will take a look at the driver source. It should be reasonably easy to patch this card in.
-Andy |
|
|
|
Jun 25 2006, 09:41 AM
Post
#9
|
|
|
Group: Members Posts: 57 Joined: 18-June 06 From: Saudi Arabia/Riyadh Member No.: 10,193 |
|
|
|
|
Jun 26 2006, 01:46 AM
Post
#10
|
|
![]() Group: Members Posts: 1,248 Joined: 6-July 04 Member No.: 3,928 |
patches pulled - see later
|
|
|
|
Jun 26 2006, 03:32 AM
Post
#11
|
|
|
Group: Members Posts: 57 Joined: 18-June 06 From: Saudi Arabia/Riyadh Member No.: 10,193 |
Wow, thats great! packaged kernel
thanks man, i will do the full HD install now and verified your patches. PS: Thanks for the warning about the MAC address, to my knowledege any sniffing to any wifi will gives u the MAC address for all of who using the air medium ( dont forget the managment frames not authenticated or encrypted; and it wont be before releasing 11w), in another way it's like public information, yes it may get in problems when it used by wardrivers but some how it wont be a problem unless you were in the same area today places that have *important* wireless networks they use VPN or .1x or any sort of mutual authentication (in this case MAC is useless to trace) one way or another they attacker will use already existed users MACs Thanks again, will confirm soon |
|
|
|
Jun 26 2006, 03:47 AM
Post
#12
|
|
![]() Group: Members Posts: 1,248 Joined: 6-July 04 Member No.: 3,928 |
Well lets not get too excited until we find if it makes any difference
-Andy |
|
|
|
Jun 26 2006, 08:19 AM
Post
#13
|
|
|
Group: Members Posts: 237 Joined: 28-December 05 Member No.: 8,801 |
I also hove the same card!! Tell me if it works for you so I can install openbsd too!
|
|
|
|
Jun 26 2006, 08:43 AM
Post
#14
|
|
|
Group: Members Posts: 57 Joined: 18-June 06 From: Saudi Arabia/Riyadh Member No.: 10,193 |
I just tried the bsd kernel, the same error :/
i will try to patch the source and see by the way Andy, the kernel you provide it for full HD install, it loads when it reach the root path mount it panic, i have tried to fix that from the mtdblock2 fstab with no luck, also there some warnnings regard pcmcia for the installer i have edit the updater.sh to accept 3200, and it works fine, it will be great idea to release the same for sl-c3200. now i'm using cacko to boot openbsd. |
|
|
|
Jun 26 2006, 10:12 AM
Post
#15
|
|
![]() Group: Members Posts: 1,248 Joined: 6-July 04 Member No.: 3,928 |
Sorry, I'm a little confused by the last bit about fixing it from the mtdblock2 fstab.
The kernel I provided should be installed in the OpenBSD root (on the / ffs partition on the hard disk) you can call it anything you like... bsd.test for example. When you boot at the boot manager prompt simply type the kernel name that you copied it to before it defaults to booting /bsd -Andy |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 07:09 PM |