Seems like I had to install Wifi drivers when i used Whiite. Ill see if I can find out where the instructions were...

Adam


On Sun, Oct 30, 2011 at 11:52 AM, folkert <folkert@vanheusden.com> wrote:
Hi,

I'm trying to get linux running on my wii.
I succesfully:
- installed the homebrew channel
- installed linux to an external harddisk via usb (by patching the
 kernel commandline)
- booted linux
But: wlan doesn't show up. In fact, in dmesg I found an Oops complaining
about some, well, something. I'll include the dmesg output below. This
happens both with mikep5 as well as with mikep4.
Just for the record: wlan does work with regular wii functionality (my
wife frequently verifies that while playing guitar hero :-]).

mikep5 boot log:

0.000000] Memory hole size: 0MB
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000000 -> 0x000133e0
[    0.000000]   Normal   0x000133e0 -> 0x000133e0
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x000133e0
[    0.000000] On node 0 totalpages: 78816
[    0.000000] free_area_init_node: node 0, pgdat c053ad7c, node_mem_map c0593000
[    0.000000]   DMA zone: 616 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 78200 pages, LIFO batch:15
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 78200
[    0.000000] Kernel command line: nobats root=/dev/sda2      rootwait force_keyboard_port=4 video=gcnfb                          for_additional_kernel_options_targetted_at_hexedit_lovers
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 65972k/315264k available (5124k kernel code, 248968k reserved, 280k data, 297k bss, 160k init)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xffffe000..0xfffff000  : fixmap
[    0.000000]   * 0xfde00000..0xfe000000  : consistent mem
[    0.000000]   * 0xfddff000..0xfde00000  : early ioremap
[    0.000000]   * 0xd4000000..0xfddff000  : vmalloc & ioremap
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:512
[    0.000000] flipper-pic: controller at 0x0c003000 mapped to 0xd4000000
[    0.000000] time_init: decrementer frequency = 60.750000 MHz
[    0.000000] time_init: processor frequency   = 729.000000 MHz
[    0.000000] clocksource: timebase mult[41d7f79] shift[22] registered
[    0.000000] clockevent: decrementer mult[f8d4fdf] shift[32] cpu[0]
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled, bootconsole disabled
[    0.000431] Mount-cache hash table entries: 512
[    0.004132] NET: Registered protocol family 16
[    0.005644] exi: Nintendo GameCube/Wii EXternal Interface (EXI) driver - version 4.0i
[    0.005761] irq: irq 4 on host /soc/pic0@0c003000 mapped to virtual irq 16
[    0.006135] exi: about to add [exi0:1] id=0xfffff308 Wii Mask ROM/RTC/SRAM/UART
[    0.006351] exi: add completed
[    0.006918] hlwd-gpio: hollywood-gpio: added 32 gpios at d40040c0
[    0.027561] bio: create slab <bio-0> at 0
[    0.029452] SCSI subsystem initialized
[    0.029893] usbcore: registered new interface driver usbfs
[    0.030240] usbcore: registered new interface driver hub
[    0.030546] usbcore: registered new device driver usb
[    0.032362] Bluetooth: Core ver 2.15
[    0.032674] NET: Registered protocol family 31
[    0.032693] Bluetooth: HCI device and connection manager initialized
[    0.032717] Bluetooth: HCI socket layer initialized
[    0.033197] cfg80211: Using static regulatory domain info
[    0.033219] cfg80211: Regulatory domain: US
[    0.033234]  (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    0.033260]  (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
[    0.033283]  (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[    0.033327]  (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[    0.033353]  (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[    0.033379]  (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[    0.033405]  (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
[    0.033451] cfg80211: Calling CRDA for country: US
[    0.100072] DMA-API: preallocated 65536 debug entries
[    0.100135] DMA-API: debugging enabled by kernel config
[    0.100165] Switching to clocksource timebase
[    0.109360] NET: Registered protocol family 2
[    0.109691] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.110630] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.111744] TCP bind hash table entries: 16384 (order: 6, 327680 bytes)
[    0.114432] TCP: Hash tables configured (established 16384 bind 16384)
[    0.114493] TCP reno registered
[    0.114863] NET: Registered protocol family 1
[    0.115391] RPC: Registered udp transport module.
[    0.115419] RPC: Registered tcp transport module.
[    0.115440] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.120642] starlet-mipc: IPC driver for 'mini' - version 0.4i
[    0.120775] starlet-mipc: unable to find mini ipc instance
[    0.121003] starlet-ipc: Nintendo Wii starlet IPC driver - version 0.3i
[    0.121109] irq: irq 14 on host /soc/pic0@0c003000 mapped to virtual irq 17
[    0.121141] starlet-malloc: Nintendo Wii starlet malloc library - version 0.1i
[    0.122689] starlet-malloc: ioh at 0x133e0000, mapped to 0xd4040000, size 128k
[    0.130409] starlet-ipc d000000.ios: DMA-API: device driver tries to free DMA memory it has not allocated [device address=0x0000000000549d60] [size=32 bytes]
[    0.130513] ------------[ cut here ]------------
[    0.130533] Badness at lib/dma-debug.c:798
[    0.130551] NIP: c01c7a08 LR: c01c7a08 CTR: c01cfc34
[    0.130573] REGS: c0541c40 TRAP: 0700   Not tainted  (2.6.32-isobel-wii)
[    0.130597] MSR: 00021032 <ME,CE,IR,DR>  CR: 22000024  XER: 20000000
[    0.130641] TASK = c0503428[0] 'swapper' THREAD: c0540000
[    0.130659] GPR00: c01c7a08 c0541cf0 c0503428 000000a4 00001032 ffffffff ffffffff 00000000
[    0.130712] GPR08: d2c0bf00 00000000 00000000 00001032 22000028 81432300 08000008 0000003c
[    0.130766] GPR16: 00000000 c0476210 00000004 00000001 c053b9f0 c053b9d0 c053b9c0 00009032
[    0.130819] GPR24: c05816c8 c057d75c 00549d60 c05456ec 00000001 c05816c0 00000000 c0541d38
[    0.130893] NIP [c01c7a08] check_unmap+0x72c/0x830
[    0.130915] LR [c01c7a08] check_unmap+0x72c/0x830
[    0.130933] Call Trace:
[    0.130950] [c0541cf0] [c01c7a08] check_unmap+0x72c/0x830 (unreliable)
[    0.130983] [c0541d30] [c01c7d34] debug_dma_unmap_page+0x7c/0x98
[    0.131014] [c0541dc0] [c001d68c] starlet_ioctl_complete+0x90/0x10c
[    0.131042] [c0541de0] [c001c9cc] starlet_ipc_complete_request+0x78/0xa4
[    0.131071] [c0541e00] [c001cabc] starlet_ipc_dispatch_rbfi+0xc4/0x154
[    0.131099] [c0541e30] [c001cdb4] starlet_ipc_handler+0xac/0x110
[    0.131128] [c0541e40] [c006fcf8] handle_IRQ_event+0xd8/0x220
[    0.131156] [c0541e90] [c0072334] handle_level_irq+0xa4/0x154
[    0.131185] [c0541eb0] [c0006938] do_IRQ+0x98/0xb4
[    0.131216] [c0541ed0] [c0012e14] ret_from_except+0x0/0x14
[    0.131247] --- Exception: 501 at cpu_idle+0xe0/0xf0
[    0.131250]     LR = cpu_idle+0xe0/0xf0
[    0.131284] [c0541f90] [c000a348] cpu_idle+0x74/0xf0 (unreliable)
[    0.131314] [c0541fb0] [c0003f10] rest_init+0x70/0x80
[    0.131348] [c0541fc0] [c04d97cc] start_kernel+0x268/0x2c4
[    0.131373] [c0541ff0] [00003438] 0x3438
[    0.131392] Instruction dump:
[    0.131409] 80bf0008 7c641b78 2f850000 419e00f8 80a50008 813f0020 3c60c049 815f0024
[    0.131461] 38632624 80ff0018 811f001c 481fa271 <0fe00000> 4bffff3c 3d60c054 3b6b56ec
[    0.142928] starlet-es: Nintendo Wii starlet ES driver - version 0.3i
[    0.258349] starlet-es: launching title 1-36
[    1.856124] gcn-rsw: Nintendo GameCube/Wii Reset SWitch (RSW) driver - version 1.0i
[    1.856257] irq: irq 1 on host /soc/pic0@0c003000 mapped to virtual irq 18
[    1.858745] msgmni has been set to 129
[    1.859560] alg: No test for stdrng (krng)
[    1.859630] io scheduler noop registered
[    1.859649] io scheduler anticipatory registered (default)
[    1.859671] io scheduler deadline registered
[    1.859734] io scheduler cfq registered
[    1.860058] gcn-vifb: Nintendo GameCube/Wii Video Interface (VI) driver - version 2.1i
[    1.860395] irq: irq 8 on host /soc/pic0@0c003000 mapped to virtual irq 19
[    1.860490] gcn-vifb: PAL 576i
[    1.860509] gcn-vifb: framebuffer at 0x01698000, mapped to 0xd4080000, size 1440k
[    1.860545] gcn-vifb: mode is 576x516x16
[    1.869671] Console: switching to colour frame buffer device 72x32
[    1.878096] fb0: gcn-vifb frame buffer device
[    1.927421] Generic non-volatile memory driver v1.1
[    1.928003] rvl-stsd: Block driver for the Nintendo Wii SD front slot - version 0.4i
[    1.930096] starlet-ipc: _starlet_ioctl: error=-4 (fffffffc)
[    1.930399] rvl-stsd: stsd_ioctl_small_read: error=-4 (fffffffc)
[    1.930707] rvl-stsd: stsd_reset_card: error=-4 (fffffffc)
[    1.937746] rvl-stsd: no card found
[    1.944557] rvl-stsd: card welcome failed
[    1.951181] rvl-stsd: stsd_card_is_bad() true
[    1.957742] rvl-stsd: stsd_revalidate_disk: error=-123 (ffffff85)
[    1.965179] rvl-di: Nintendo Wii Disk Interface (DI) driver - version 0.1i
[    1.979274] brd: module loaded
[    1.989954] loop: module loaded
[    1.996890] usbcore: registered new interface driver asix
[    2.003615] Broadcom 43xx driver loaded [ Features: S, Firmware-ID: FW13 ]
[    2.015902] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.028792] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.035679] rvl-sthcd: USB Host Controller driver for the Nintendo Wii - version 0.5i
[    2.049096] rvl-sthcd starlet-ios-hcd.3: Nintendo Wii USB Host Controller
[    2.062585] rvl-sthcd starlet-ios-hcd.3: new USB bus registered, assigned bus number 1
[    2.076518] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[    2.090135] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.103912] usb usb1: Product: Nintendo Wii USB Host Controller
[    2.110957] usb usb1: Manufacturer: Linux 2.6.32-isobel-wii rvl-sthcd
[    2.118060] usb usb1: SerialNumber: rvl-sthcd
[    2.125582] usb usb1: configuration #1 chosen from 1 choice
[    2.132923] hub 1-0:1.0: USB hub found
[    2.139822] hub 1-0:1.0: 15 ports detected
[    2.147240] Initializing USB Mass Storage driver...
[    2.154341] usbcore: registered new interface driver usb-storage
[    2.161365] USB Mass Storage support registered.
[    2.168474] rvl-sthcd: inserting device 057E.0305
[    2.175724] usbcore: registered new interface driver libusual
[    2.183333] mice: PS/2 mouse device common for all mice
[    2.191152] rtc-gcn: Nintendo GameCube/Wii RTC/SRAM driver - version 1.0i
[    2.206012] rtc-gcn exi0:1: rtc core: registered rtc-gcn as rtc0
[    2.213601] rvl-sthcd: inserting device 062A.0201
[    2.221196] i2c /dev entries driver
[    2.229720] i2c-gpio-of i2c-video.5: using pins 240 (SDA) and 241 (SCL, no clock stretching)
[    2.244360] rvl-sthcd: inserting device 059F.102A
[    2.252277] gcn-vifb: AVE-RVL support loaded
[    2.259507] gcn-vifb: PAL 576i
[    2.273005] Bluetooth: Generic Bluetooth USB driver ver 0.6
[    2.280331] usbcore: registered new interface driver btusb
[    2.287555] sdhci: Secure Digital Host Controller Interface driver
[    2.294685] sdhci: Copyright(c) Pierre Ossman
[    2.301599] sdhci-hlwd: Nintendo Wii Secure Digital Host Controller Interface - version 0.1i
[    2.316436] usbcore: registered new interface driver usbhid
[    2.323536] usbhid: v2.6:USB HID core driver
[    2.330371] gcn-si: Nintendo GameCube/Wii Serial Interface (SI) driver - version 1.0i
[    2.345214] Advanced Linux Sound Architecture Driver Version 1.0.21.
[    2.354000] gcn-ai: Nintendo GameCube/Wii Audio Interface (AI) driver - version 1.0i
[    2.368160] irq: irq 6 on host /soc/pic0@0c003000 mapped to virtual irq 20
[    2.382473] IRQ 20/gcn-ai: IRQF_DISABLED is not guaranteed on shared IRQs
[    2.399398] usbcore: registered new interface driver snd-usb-audio
[    2.406981] ALSA device list:
[    2.414265]   #0: Nintendo GameCube Audio Interface
[    2.422517] TCP cubic registered
[    2.429705] NET: Registered protocol family 17
[    2.436886] Bluetooth: L2CAP ver 2.14
[    2.443969] Bluetooth: L2CAP socket layer initialized
[    2.451222] Bluetooth: RFCOMM TTY layer initialized
[    2.458255] Bluetooth: RFCOMM socket layer initialized
[    2.465204] Bluetooth: RFCOMM ver 1.11
[    2.471911] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.478667] Bluetooth: BNEP filters: multicast
[    2.485267] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.493334] rtc-gcn exi0:1: setting system clock to 2011-10-30 18:43:57 UTC (1320000237)
[    2.507125] Waiting for root device /dev/sda2...
[    2.513937] usb 1-1: new full speed USB device using rvl-sthcd and address 2
[    2.661665] usb 1-1: New USB device found, idVendor=057e, idProduct=0305
[    2.675131] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.688605] usb 1-1: Product: BCM2045A
[    2.695268] usb 1-1: Manufacturer: Broadcom Corp
[    2.702456] usb 1-1: configuration #1 chosen from 1 choice
[    2.820342] usb 1-2: new full speed USB device using rvl-sthcd and address 3
[    2.970048] usb 1-2: New USB device found, idVendor=062a, idProduct=0201
[    2.982915] usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.995757] usb 1-2: Product: USB-compliant keyboard
[    3.002738] usb 1-2: configuration #1 chosen from 1 choice
[    3.021111] input: USB-compliant keyboard as /class/input/input0
[    3.028357] generic-usb 0003:062A:0201.0001: input: USB HID v1.10 Keyboard [USB-compliant keyboard] on usb-rvl-sthcd-2/input0
[    3.054880] input: USB-compliant keyboard as /class/input/input1
[    3.062783] generic-usb 0003:062A:0201.0002: input: USB HID v1.10 Mouse [USB-compliant keyboard] on usb-rvl-sthcd-2/input1
[    3.316208] usb 1-3: new full speed USB device using rvl-sthcd and address 4
[    3.463037] usb 1-3: New USB device found, idVendor=059f, idProduct=102a
[    3.478105] usb 1-3: New USB device strings: Mfr=10, Product=11, SerialNumber=5
[    3.493372] usb 1-3: Product: LaCie Device
[    3.500955] usb 1-3: Manufacturer: LaCie
[    3.508450] usb 1-3: SerialNumber: 29EB305051FF
[    3.516412] usb 1-3: configuration #1 chosen from 1 choice
[    3.527532] scsi0 : SCSI emulation for USB Mass Storage devices
[    3.535812] usb-storage: device found at 4
[    3.543449] usb-storage: waiting for device to settle before scanning
[    8.593148] scsi 0:0:0:0: Direct-Access     SAMSUNG  HM100UI               PQ: 0 ANSI: 2 CCS
[    8.609549] usb-storage: device scan complete
[    8.622046] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[    8.643042] sd 0:0:0:0: [sda] Write Protect is off
[    8.650495] sd 0:0:0:0: [sda] Mode Sense: 28 00 00 00
[    8.657820] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.676037] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.683165]  sda: sda1 sda2
[    8.710040] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.717196] sd 0:0:0:0: [sda] Attached SCSI disk
[    9.158215] EXT3-fs: mounted filesystem with writeback data mode.
[    9.165363] VFS: Mounted root (ext3 filesystem) readonly on device 8:2.
[    9.178969] Freeing unused kernel memory: 160k init
[    9.185793] kjournald starting.  Commit interval 5 seconds
[   18.676721] starlet-ipc: _starlet_ioctl: error=-1056964604 (c1000004)
[   18.689565] rvl-stsd: stsd_send_command: error=-1056964604 (c1000004), opcode=7
[   18.941977] starlet-ipc: _starlet_ioctl: error=-4 (fffffffc)
[   18.948982] rvl-stsd: stsd_ioctl_small_read: error=-4 (fffffffc)
[   18.955836] rvl-stsd: stsd_reset_card: error=-4 (fffffffc)
[   19.062197] rvl-stsd: no card found
[   19.069016] rvl-stsd: card welcome failed
[   19.075532] rvl-stsd: stsd_card_is_bad() true
[   19.082016] rvl-stsd: stsd_revalidate_disk: error=-123 (ffffff85)
[   22.050070] EXT3 FS on sda2, internal journal

With p4 no stactrace, simply no wlan device:
[    0.054116] starlet-mipc: IPC driver for 'mini' - version 0.3i
[    0.054233] starlet-mipc: mipc_discover: wrong mini ipc header address ffffffff
[    0.054267] starlet-mipc: unable to find mini ipc instance
[    0.054498] starlet-ipc: Nintendo Wii starlet IPC driver - version 0.3i
[    0.054605] irq: irq 14 on host /soc/pic0@0c003000 mapped to virtual irq 17
[    0.054637] starlet-malloc: Nintendo Wii starlet malloc library - version 0.1i
[    0.056189] starlet-malloc: ioh at 0x133e0000, mapped to 0xd4040000, size 128k
[    0.104965] starlet-es: Nintendo Wii starlet ES driver - version 0.3i
[    0.263608] starlet-es: launching title 1-36
[    1.861211] gcn-rsw: Nintendo GameCube/Wii Reset SWitch (RSW) driver - version 1.0i
[    1.861323] irq: irq 1 on host /soc/pic0@0c003000 mapped to virtual irq 18
[    1.863740] msgmni has been set to 129
[    1.864545] alg: No test for stdrng (krng)
[    1.864612] io scheduler noop registered
[    1.864631] io scheduler anticipatory registered (default)
[    1.864652] io scheduler deadline registered
[    1.864717] io scheduler cfq registered
[    1.865049] gcn-vifb: Nintendo GameCube/Wii Video Interface (VI) driver - version 2.1i

/proc/interrupts:
          CPU0
 16:          1  flipper-pic Level     exi
 17:      28192  flipper-pic Level     starlet-ipc
 18:          0  flipper-pic Level     gcn-rsw
 19:      66959  flipper-pic Level     gcn-vifb
 20:          0  flipper-pic Level     gcn-ai
BAD:          0


Folkert van Heusden

--
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
gc-linux-devel mailing list
gc-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gc-linux-devel