Author Topic: New Install On Sl-c3200  (Read 25755 times)

hus

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
    • http://www.huslab.com
New Install On Sl-c3200
« on: June 22, 2006, 09:55:10 pm »
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: [Select]
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
SL-C3200
GP2X-F100 (MKII)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
New Install On Sl-c3200
« Reply #1 on: June 23, 2006, 12:00:50 pm »
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
« Last Edit: June 23, 2006, 12:14:31 pm by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

hus

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
    • http://www.huslab.com
New Install On Sl-c3200
« Reply #2 on: June 23, 2006, 08:59:13 pm »
hi iamasmith

ok here is the info
GW-CF11X PLANEX
Node ID 0090CC

dmesg:
Code: [Select]
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:
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
« Last Edit: June 26, 2006, 07:16:50 am by hus »
SL-C3200
GP2X-F100 (MKII)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
New Install On Sl-c3200
« Reply #3 on: June 24, 2006, 07:28:00 am »
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
« Last Edit: June 24, 2006, 07:29:19 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

hus

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
    • http://www.huslab.com
New Install On Sl-c3200
« Reply #4 on: June 24, 2006, 11:02:06 pm »
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
SL-C3200
GP2X-F100 (MKII)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
New Install On Sl-c3200
« Reply #5 on: June 25, 2006, 06:20:38 am »
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
« Last Edit: June 25, 2006, 08:28:55 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

hus

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
    • http://www.huslab.com
New Install On Sl-c3200
« Reply #6 on: June 25, 2006, 09:09:49 am »
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.
SL-C3200
GP2X-F100 (MKII)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
New Install On Sl-c3200
« Reply #7 on: June 25, 2006, 01:38:30 pm »
OK, thanks, I will take a look at the driver source. It should be reasonably easy to patch this card in.

-Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

hus

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
    • http://www.huslab.com
New Install On Sl-c3200
« Reply #8 on: June 25, 2006, 01:41:34 pm »
Quote
OK, thanks, I will take a look at the driver source. It should be reasonably easy to patch this card in.

-Andy
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132791\"][{POST_SNAPBACK}][/a][/div]

i appreciate your help, I spent the whole night looking around, couldn’t get it to work
SL-C3200
GP2X-F100 (MKII)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
New Install On Sl-c3200
« Reply #9 on: June 26, 2006, 05:46:04 am »
patches pulled - see later
« Last Edit: June 27, 2006, 07:02:29 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

hus

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
    • http://www.huslab.com
New Install On Sl-c3200
« Reply #10 on: June 26, 2006, 07:32:46 am »
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
SL-C3200
GP2X-F100 (MKII)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
New Install On Sl-c3200
« Reply #11 on: June 26, 2006, 07:47:29 am »
Well lets not get too excited until we find if it makes any difference , if this gives the same kind of error I need to do a little bit more digging.

-Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

DaemonsGR

  • Full Member
  • ***
  • Posts: 237
    • View Profile
New Install On Sl-c3200
« Reply #12 on: June 26, 2006, 12:19:51 pm »
I also hove the same card!! Tell me if it works for you so I can install openbsd too!
Tasos Varoudis (Tech)
Tasos Varoudis (Architecture)

Zaurus sl-c3100 + Wlan, Lan ,BT ,etc
NOW running... pdaXrom 1.1.0beta3 + OOo + custom apps/setup + debian +.. not yet installed OpenBSD snapshot

WAS:Cacko 1.23 + X/QT + debian

Home-Net
Debian WIFI Router ,OpenBSD Bridge Firewall ,Win 2k Domain Server , :) Sun Fire v120 , :) Gentoo Main Server: Dual PIII

hus

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
    • http://www.huslab.com
New Install On Sl-c3200
« Reply #13 on: June 26, 2006, 12:43:48 pm »
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.
SL-C3200
GP2X-F100 (MKII)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
New Install On Sl-c3200
« Reply #14 on: June 26, 2006, 02:12:20 pm »
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
« Last Edit: June 26, 2006, 02:27:53 pm by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card