Showing posts with label macmini. Show all posts
Showing posts with label macmini. Show all posts

Monday, August 9, 2010

BCM4306 802.11b/g Wireless LAN Controller

[ 2867.512848] firmware: requesting b43/ucode5.fw
[ 2867.533778] b43-phy0 ERROR: Firmware file "b43/ucode5.fw" not found or load failed.
[ 2867.533790] b43-phy0 ERROR: You must go to http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and download the latest firmware (version 4).

If you see this, simply follow instructions from:

http://wiki.debian.org/bcm43xx#b43andb43legacy

$ sudo aptitude install b43-fwcutter wireless-tools
$ sudo modprobe b4

You should then see in dmesg:

[ 2989.676732] input: b43-phy0 as /class/input/input43
[ 2989.712889] firmware: requesting b43/ucode5.fw
[ 2989.782452] firmware: requesting b43/pcm5.fw
[ 2989.833275] firmware: requesting b43/b0g0initvals5.fw
[ 2989.889185] firmware: requesting b43/b0g0bsinitvals5.fw
[ 2990.092695] b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
[ 2992.174225] Registered led device: b43-phy0::tx
[ 2992.174256] Registered led device: b43-phy0::rx
[ 2992.174282] Registered led device: b43-phy0::radio
[ 2992.225487] ADDRCONF(NETDEV_UP): wlan0: link is not ready

Tuesday, July 27, 2010

Preparing bootable debian-installer CD for MacMini/PPC

Here is a follow up on my quest to get a proper bootable CD of debian-installer for my PPC MacMini.



$ wodim  -eject -v speed=2 -data -pad  ./debian-505-powerpc-netinst.iso
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.Device was not specified. Trying to find an appropriate drive...
Looking for a CD-R drive to store 199.59 MiB...
Detected CD-R drive: /dev/cdrw
Using /dev/cdrom of unknown capabilities
scsidev: '/dev/cdrom'
devname: '/dev/cdrom'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.9
Driveropts: 'burnfree'
SCSI buffer size: 64512
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   :
Vendor_info    : 'HL-DT-ST'
Identification : 'DVD+-RW GH30N   '
Revision       : 'A102'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
Profile: 0x0012 (DVD-RAM)
Profile: 0x002B (DVD+R/DL)
Profile: 0x001B (DVD+R)
Profile: 0x001A (DVD+RW)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0010 (DVD-ROM)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1114112 = 1088 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 126494 kB/s 718x CD 91x DVD
FIFO size      : 12582912 = 12288 KB
Track 01: data   199 MB         padsize:   30 KB
Total size:      229 MB (22:42.73) = 102205 sectors
Lout start:      229 MB (22:44/55) = 102205 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 4
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, low Beta category (A-) (2)
  ATIP start of lead in:  -12508 (97:15/17)
  ATIP start of lead out: 359845 (79:59/70)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 22
Manufacturer: Ritek Co.
Blocks total: 359845 Blocks current: 359845 Blocks remaining: 257640
Speed set to 2822 KB/s
Starting to write CD/DVD at speed  16.0 in real TAO mode for single session.
Last chance to quit, starting real write in    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 0
Track 01:  199 of  199 MB written (fifo 100%) [buf  91%]  16.8x.
Track 01: writing  30 KB of pad data.
Track 01: Total bytes read/written: 209281024/209311744 (102203 sectors).
Writing  time:   94.845s
Average write speed  14.4x.
Min drive buffer fill was 90%
Fixating...
Fixating time:   18.573s
wodim: fifo had 3297 puts and 3297 gets.
wodim: fifo was 0 times empty and 3069 times full, min fill was 95%.

Let's try checking the iso was burned ok:

$ cmp /dev/cdrom debian-505-powerpc-netinst.iso
cmp: EOF on debian-505-powerpc-netinst.iso

I followed instructions from:
http://www.debian.org/CD/faq/#record-unix

Still no luck using:
- C reboot solution
- Option solution
- Command+Option+o+f solution