Broadcom WiFi

Решение проблем связванных с работой железа. Проблемы программно-аппаратной совместимости.
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: Broadcom WiFi

Непрочитанное сообщение paradox » 2009-01-18 23:24:40

скан ничего не находит?

а под виндой точно работает на ноуте карта?

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Novice
проходил мимо

Re: Broadcom WiFi

Непрочитанное сообщение Novice » 2009-01-18 23:33:48

Под Вин 100% все работает.
ipconfig ndis0 scan тупо затыкается и никакого вывода не дает...

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: Broadcom WiFi

Непрочитанное сообщение paradox » 2009-01-18 23:50:16

ну вообще то ifconfig

отпиши саньку в приват или на аську или какие у него контакты у него такая же карта наскоко я помню

ты ndis сам генерил или брал тот что санек сделал?
у него наскоко я помню все заработало

Саня__
проходил мимо

Re: Broadcom WiFi

Непрочитанное сообщение Саня__ » 2009-01-19 0:14:53

ifconfig ndis0 scan не работает сразу после старта карты.
После того как я подключаюсь к сети (с помощью wpa_supplicant -- WPA2), ifconfig ndis0 scan показывает список сетей. Такое впечатление, что карта не инициализируеться полностю, пока не подключиться к какой-то сети. Может создание adhoc-сети сначала поможет, если некуда подключиться, а список сетей посмотреть хочеться. И еще, иногда мне удаеться успешно сделать kldload bcmwl5_sys после загрузки ОС без падения ОС :smile:, но как-то не конкретно работает. Кажеться, меньше падает, если включить в /boot/laoder.conf ndis_load=Y и if_ndis_load=YES, то-есть не дать bcmwl5_sys автоматически подгружать ndis и if_ndis. Еще кажеться, что kldload bcmwl5_sys падает в момент, когда система чем-то нагружена. Вообще неконкретный драйвер, то упасть может, то еще чего-то. Но если уже стартовал - то работает ОК до следующего выхода из спящего режима.

Novice
проходил мимо

Re: Broadcom WiFi

Непрочитанное сообщение Novice » 2009-01-19 0:38:10

Генерил сам с помощью скрипта из .inf и .sys
Назначения .cat в архиве не понял.
Грузится драйвер из loader.conf автоматически подгружая ndis.ko и if_ndis.ko В rc.conf прописано ssid моей AP и параметр DHCP.
Никаких падений системы нет.

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: Broadcom WiFi

Непрочитанное сообщение paradox » 2009-01-23 7:16:06

>lissyara
_paradox.lissyara.su/bwi.02с.tar.bz2
пробуй с DMA64 фикс
скажешь каконо неработает))
ну и лог покажешь dmesg как оно грузиться если не паникует

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35332
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: Broadcom WiFi

Непрочитанное сообщение Alex Keda » 2009-01-23 21:13:02

Код: Выделить всё

Jan 23 21:12:19 HP kernel: bwi0: <Broadcom BCM4312 802.11 Wireless Lan> mem 0xc8000000-0xc8003fff irq 18 at device 0.0 on pci48
Jan 23 21:12:19 HP kernel: bwi0: [ITHREAD]
Jan 23 21:12:19 HP kernel: bwi0: regwin: type 0x800, rev 19, vendor 0x4243
Jan 23 21:12:19 HP kernel: bwi0: BBP: id 0x4311, rev 0x2, pkg 0
Jan 23 21:12:19 HP kernel: bwi0: nregwin 4, cap 0x0864000d
Jan 23 21:12:19 HP kernel: bwi0: regwin: type 0x812, rev 13, vendor 0x4243
Jan 23 21:12:19 HP kernel: bwi0: MAC: rev 13
Jan 23 21:12:19 HP kernel: bwi0: regwin: type 0x817, rev 4, vendor 0x4243
Jan 23 21:12:19 HP kernel: bwi0: regwin: type 0x820, rev 5, vendor 0x4243
Jan 23 21:12:19 HP kernel: bwi0: clksrc CS_OSC
Jan 23 21:12:19 HP kernel: bwi0: clkfreq min 990000, max 1010000
Jan 23 21:12:19 HP kernel: bwi0: power on delay 3
Jan 23 21:12:19 HP kernel: bwi0: bus rev 6
Jan 23 21:12:19 HP kernel: bwi0: PCIE is enabled
Jan 23 21:12:19 HP kernel: bwi0: card flags 0x4a49
Jan 23 21:12:19 HP kernel: bwi0: 0th led, act 2, lowact 0
Jan 23 21:12:19 HP kernel: bwi0: 1th led, act 3, lowact 1
Jan 23 21:12:19 HP kernel: bwi0: 2th led, act 4, lowact 0
Jan 23 21:12:19 HP kernel: bwi0: 3th led, act 0, lowact 0
Jan 23 21:12:19 HP kernel: bwi0: MAC was already disabled
Jan 23 21:12:19 HP kernel: bwi0: PHY is linked
Jan 23 21:12:19 HP kernel: bwi0: PHY: type 2, rev 9, ver 4
Jan 23 21:12:19 HP kernel: bwi0: PHY: 11G attach
Jan 23 21:12:19 HP kernel: bwi0: RF: manu 0x17f, type 0x2050, rev 2
Jan 23 21:12:19 HP kernel: bwi0: bus rev 6
Jan 23 21:12:19 HP kernel: bwi0: PHY is linked
Jan 23 21:12:19 HP kernel: bwi0: 64bit bus space
Jan 23 21:12:19 HP kernel: bwi0: max txpower from sprom: 74 dBm
Jan 23 21:12:19 HP kernel: bwi0: ant gain 8 dBm
Jan 23 21:12:19 HP kernel: bwi0: region/domain max txpower 76 dBm
Jan 23 21:12:19 HP kernel: bwi0: max txpower 74 dBm
Jan 23 21:12:19 HP kernel: bwi0: sprom idle tssi: 0x783e
Jan 23 21:12:19 HP kernel: bwi0: TSSI-TX power map:
Jan 23 21:12:19 HP kernel: 83 83 82 82 82 82 81 81
Jan 23 21:12:19 HP kernel: 80 80 79 79 79 78 78 77
Jan 23 21:12:19 HP kernel: 77 76 75 75 74 74 73 73
Jan 23 21:12:19 HP kernel: 72 72 71 70 69 69 68 67
Jan 23 21:12:19 HP kernel: 66 65 64 64 62 61 60 59
Jan 23 21:12:19 HP kernel: 58 57 55 54 52 51 49 48
Jan 23 21:12:19 HP kernel: 46 45 42 41 38 36 33 31
Jan 23 21:12:19 HP kernel: 28 25 22 19 15 11 6 2
Jan 23 21:12:19 HP kernel: bwi0: idle tssi0: 62
Jan 23 21:12:19 HP kernel: bwi0: bus rev 6
Jan 23 21:12:19 HP kernel: bwi0: locale: 0
Jan 23 21:12:19 HP kernel: bwi0: WARNING: using obsoleted if_watchdog interface
Убей их всех! Бог потом рассортирует...

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35332
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: Broadcom WiFi

Непрочитанное сообщение Alex Keda » 2009-01-23 21:13:53

Код: Выделить всё

HP# ifconfig -m bwi0
bwi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
  ether 00:00:00:21:00:0a
  media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
  status: no carrier
  supported media:
   media OFDM/54Mbps mode autoselect mediaopt monitor
   media OFDM/54Mbps mode autoselect
   media OFDM/48Mbps mode autoselect mediaopt monitor
   media OFDM/48Mbps mode autoselect
   media OFDM/36Mbps mode autoselect mediaopt monitor
   media OFDM/36Mbps mode autoselect
   media OFDM/24Mbps mode autoselect mediaopt monitor
   media OFDM/24Mbps mode autoselect
   media OFDM/18Mbps mode autoselect mediaopt monitor
   media OFDM/18Mbps mode autoselect
   media OFDM/12Mbps mode autoselect mediaopt monitor
   media OFDM/12Mbps mode autoselect
   media OFDM/9Mbps mode autoselect mediaopt monitor
   media OFDM/9Mbps mode autoselect
   media OFDM/6Mbps mode autoselect mediaopt monitor
   media OFDM/6Mbps mode autoselect
   media DS/11Mbps mode autoselect mediaopt monitor
   media DS/11Mbps mode autoselect
   media DS/5.5Mbps mode autoselect mediaopt monitor
   media DS/5.5Mbps mode autoselect
   media DS/2Mbps mode autoselect mediaopt monitor
   media DS/2Mbps mode autoselect
   media DS/1Mbps mode autoselect mediaopt monitor
   media DS/1Mbps mode autoselect
   media OFDM/54Mbps mode 11g mediaopt monitor
   media OFDM/54Mbps mode 11g
   media OFDM/48Mbps mode 11g mediaopt monitor
   media OFDM/48Mbps mode 11g
   media OFDM/36Mbps mode 11g mediaopt monitor
   media OFDM/36Mbps mode 11g
   media OFDM/24Mbps mode 11g mediaopt monitor
   media OFDM/24Mbps mode 11g
   media OFDM/18Mbps mode 11g mediaopt monitor
   media OFDM/18Mbps mode 11g
   media OFDM/12Mbps mode 11g mediaopt monitor
   media OFDM/12Mbps mode 11g
   media OFDM/9Mbps mode 11g mediaopt monitor
   media OFDM/9Mbps mode 11g
   media OFDM/6Mbps mode 11g mediaopt monitor
   media OFDM/6Mbps mode 11g
   media DS/11Mbps mode 11g mediaopt monitor
   media DS/11Mbps mode 11g
   media DS/5.5Mbps mode 11g mediaopt monitor
   media DS/5.5Mbps mode 11g
   media DS/2Mbps mode 11g mediaopt monitor
   media DS/2Mbps mode 11g
   media DS/1Mbps mode 11g mediaopt monitor
   media DS/1Mbps mode 11g
   media autoselect mode 11g mediaopt monitor
   media autoselect mode 11g
   media DS/11Mbps mode 11b mediaopt monitor
   media DS/11Mbps mode 11b
   media DS/5.5Mbps mode 11b mediaopt monitor
   media DS/5.5Mbps mode 11b
   media DS/2Mbps mode 11b mediaopt monitor
   media DS/2Mbps mode 11b
   media DS/1Mbps mode 11b mediaopt monitor
   media DS/1Mbps mode 11b
   media autoselect mode 11b mediaopt monitor
   media autoselect mode 11b
   media autoselect mode autoselect mediaopt monitor
   media autoselect mode autoselect
HP#    
Убей их всех! Бог потом рассортирует...

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35332
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: Broadcom WiFi

Непрочитанное сообщение Alex Keda » 2009-01-23 21:15:13

после UP

Код: Выделить всё

Jan 23 21:14:41 HP kernel: bwi0: bbp atten: 0, rf atten: 3, ctrl1: 2, ctrl2: 65535
Jan 23 21:14:41 HP kernel: bwi0: bus rev 6
Jan 23 21:14:41 HP kernel: bwi0: MAC is disabled
Jan 23 21:14:41 HP kernel: bwi0: MAC was already disabled
Jan 23 21:14:41 HP kernel: bwi0: PHY is linked
Jan 23 21:14:41 HP kernel: bwi0: firmware rev 0x0127, patch level 0x000e
Jan 23 21:14:41 HP kernel: bwi0: IV count 317
Jan 23 21:14:41 HP kernel: bwi0: lo gain: 1, rx gain: 48
Jan 23 21:14:41 HP kernel: bwi0: RF calibration value: 0x0026
Jan 23 21:14:42 HP kernel: bwi0: base tssi 31
Jan 23 21:14:42 HP kernel: bwi0: base tssi measure failed
Jan 23 21:14:42 HP kernel: bwi0: intr status 0x00000800
Jan 23 21:14:42 HP kernel: bwi0: TX/RX intr
Jan 23 21:14:42 HP kernel: , 0 0x00000000, 1 0x00000000, 2 0x00000000, 3 0x00000000, 4 0x00000000, 5 0x00000000
Jan 23 21:14:42 HP kernel: bwi0: bwi_intr: intr PHY TX error
Jan 23 21:14:42 HP kernel: bwi0: bwi_restart begin, help!
Jan 23 21:14:42 HP kernel: bwi0: bus rev 6
Jan 23 21:14:42 HP kernel: bwi0: bbp atten: 0, rf atten: 3, ctrl1: 2, ctrl2: 65535
Jan 23 21:14:42 HP kernel: bwi0: bus rev 6
Jan 23 21:14:42 HP kernel: bwi0: MAC is disabled
Jan 23 21:14:42 HP kernel: bwi0: MAC was already disabled
Jan 23 21:14:42 HP kernel: bwi0: PHY is linked
Jan 23 21:14:42 HP kernel: bwi0: firmware rev 0x0127, patch level 0x000e
Jan 23 21:14:42 HP kernel: bwi0: IV count 317
Jan 23 21:14:42 HP kernel: bwi0: lo gain: 1, rx gain: 48
Jan 23 21:14:42 HP kernel: bwi0: RF calibration value: 0x0026
Убей их всех! Бог потом рассортирует...

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35332
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: Broadcom WiFi

Непрочитанное сообщение Alex Keda » 2009-01-23 22:04:13

Код: Выделить всё

Jan 23 21:49:33 HP kernel: bwi0: TX/RX intr
Jan 23 21:49:33 HP kernel: , 0 0x00000400bwi0: bwi_intr: intr fatal TX/RX (0) error 0x00000400
Jan 23 21:49:33 HP kernel: , 1 0x00000400bwi0: bwi_intr: intr fatal TX/RX (1) error 0x00000400
Jan 23 21:49:33 HP kernel: , 2 0x00000000, 3 0x00000000, 4 0x00000000, 5 0x00000000
Jan 23 21:49:33 HP kernel: bwi0: intr status 0x0000a000
Jan 23 21:49:33 HP kernel: bwi0: TX/RX intr

Код: Выделить всё

Jan 23 21:49:33 HP kernel: 00000400
Jan 23 21:49:33 HP kernel: , 2 0x00000000,
Jan 23 21:49:33 HP kernel: 3 0x00000000, 4 0x00000
Jan 23 21:49:33 HP kernel: 000, 5 0x00000000
Jan 23 21:49:33 HP kernel:
Jan 23 21:49:33 HP kernel: bwi0: intr status 0x
Jan 23 21:49:33 HP kernel: 0000a000
Jan 23 21:49:33 HP kernel: bwi0: TX/RX int
Jan 23 21:49:33 HP kernel: r
Jan 23 21:49:33 HP kernel: , 0 0x00000400bwi0: bwi
Jan 23 21:49:33 HP kernel: _intr: intr fatal TX/
Jan 23 21:49:33 HP kernel: RX (0) error 0x000004
Jan 23 21:49:33 HP kernel: 00
Jan 23 21:49:33 HP kernel: , 1 0x00000400bwi0:
Jan 23 21:49:33 HP kernel: bwi_intr: intr fatal
Jan 23 21:49:33 HP kernel: TX/RX (1) error 0x00
Jan 23 21:49:33 HP kernel: 000400
Jan 23 21:49:33 HP kernel: , 2 0x00000000, 3
Jan 23 21:49:33 HP kernel: 0x00000000, 4 0x00000
Jan 23 21:49:33 HP kernel: 000, 5 0x00000000
Jan 23 21:49:33 HP kernel:
Jan 23 21:49:33 HP kernel: bwi0: intr status 0x000
Jan 23 21:49:33 HP kernel: 0a000
Jan 23 21:49:33 HP kernel: bwi0: TX/RX intr
Jan 23 21:49:33 HP kernel:
Jan 23 21:49:33 HP kernel: , 0 0x00000400bwi0: bwi_i
Jan 23 21:49:33 HP kernel: ntr: intr fatal TX/RX
Jan 23 21:49:33 HP kernel: (0) error 0x00000400
Jan 23 21:49:33 HP kernel:
Jan 23 21:49:33 HP kernel: , 1 0x00000400bwi0: bwi_in
Jan 23 21:49:33 HP kernel: tr: intr fatal TX/RX
Jan 23 21:49:33 HP kernel: (1) error 0x00000400
Jan 23 21:49:33 HP kernel:
Jan 23 21:49:33 HP kernel: , 2 0x00000000, 3 0x0000
Jan 23 21:49:33 HP kernel: 0000, 4 0x00000000,
Jan 23 21:49:33 HP kernel: 5 0x00000000
Jan 23 21:49:33 HP kernel:
Jan 23 21:49:33 HP kernel: bwi0: intr status 0x0000a000
Jan 23 21:49:33 HP kernel:
Jan 23 21:49:33 HP kernel: bwi0: TX/RX intr
Jan 23 21:49:33 HP kernel:
Jan 23 21:49:33 HP kernel: , 0 0x00000400bwi0: bwi_intr: i
Jan 23 21:49:33 HP kernel: ntr fatal TX/RX (0) erro
Jan 23 21:49:33 HP kernel: r 0x00000400
Jan 23 21:49:33 HP kernel:
Jan 23 21:49:33 HP kernel: , 1 0x00000400bwi0: bwi_intr: intr
Jan 23 21:49:33 HP kernel: fatal TX/RX (1) error
вот такого насрало за три секунды двести метров в логи
попытался интерфейс поднять....
Убей их всех! Бог потом рассортирует...

SaveTheRbtz
рядовой
Сообщения: 15
Зарегистрирован: 2008-11-20 22:13:32

Re: Broadcom WiFi

Непрочитанное сообщение SaveTheRbtz » 2009-01-24 2:22:41

Под -CURRENT компиллицца, загружаецца, wlan0 создаёцца, но при
ifconfig wlan0 scan
драйвер дохнет, зацикливаясь а таких логах:

Код: Выделить всё

Jan 24 02:17:50 PH34R kernel: bwi0: reset rx ring timedout
Jan 24 02:17:50 PH34R kernel: bwi0: bwi_free_tx_ring64: wait for TX ring(1) stable timed out
Jan 24 02:17:50 PH34R kernel: bwi0: bwi_free_tx_ring64: reset TX ring (1) timed out
Jan 24 02:17:50 PH34R kernel: bwi0: bus rev 6
Jan 24 02:17:50 PH34R kernel: bwi0: bbp atten: 0, rf atten: 3, ctrl1: 2, ctrl2: 65535
Jan 24 02:17:50 PH34R kernel: bwi0: bus rev 6
Jan 24 02:17:50 PH34R kernel: bwi0: MAC is disabled
Jan 24 02:17:50 PH34R kernel: bwi0: MAC was already disabled
Jan 24 02:17:50 PH34R kernel: bwi0: PHY is linked
Jan 24 02:17:50 PH34R kernel: bwi0: firmware rev 0x0127, patch level 0x000e
Jan 24 02:17:50 PH34R kernel: bwi0: IV count 317
Jan 24 02:17:50 PH34R kernel: bwi0: lo gain: 25, rx gain: 48
Jan 24 02:17:50 PH34R kernel: bwi0: RF calibration value: 0x003e
Jan 24 02:17:50 PH34R kernel: bwi0: intr status 0x00000800
Jan 24 02:17:50 PH34R kernel: bwi0: TX/RX intr
Jan 24 02:17:50 PH34R kernel: , 0 0x00000000, 1 0x00000000, 2 0x00000000, 3 0x00000000, 4 0x00000000, 5 0x00000000
Jan 24 02:17:50 PH34R kernel: bwi0: bwi_intr: intr PHY TX error
Jan 24 02:17:50 PH34R kernel: bwi0: bwi_restart begin, heblwpi!0:

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: Broadcom WiFi

Непрочитанное сообщение paradox » 2009-01-24 2:27:26

>SaveTheRbtz

если есть возможность поставить линух
то поставь и проверь заведеться под ним твоя карточка (внимание) на драйвере b43_legacy это аналог bwi(точнее наоборот)

а вот линуховый b43 это уже новый драйвер
расчитаный на новую прошивку и новые чипы ревизии

так вот если под линухом заведеться твой wifi с драйвером b43_legacy значит мне стоит еще помучать bwi
если незаведеться
значит просто нужно писать новый драйвер

SaveTheRbtz
рядовой
Сообщения: 15
Зарегистрирован: 2008-11-20 22:13:32

Re: Broadcom WiFi

Непрочитанное сообщение SaveTheRbtz » 2009-01-24 9:49:55

По линухом на b43 всё работает, legacy не проверял

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: Broadcom WiFi

Непрочитанное сообщение paradox » 2009-01-24 15:23:57

b43 то для bcmv4 писаный
а bwi и b43_legacy писаные по старому стандарту
вот если легаси заработает - значит и bwi можно будет поднять
если нет то тогда мне с bwi и ненадо мучаться)

SaveTheRbtz
рядовой
Сообщения: 15
Зарегистрирован: 2008-11-20 22:13:32

Re: Broadcom WiFi

Непрочитанное сообщение SaveTheRbtz » 2009-01-24 16:56:04

проверил, легаси у меня не работает

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: Broadcom WiFi

Непрочитанное сообщение paradox » 2009-01-27 1:48:47

линуксоиды обновили спецификацию на LP чипы
так что наверное у них скоро заведуться платы под этими чипами.....

http://bcm-v4.sipsolutions.net
смотреть в закладке "изменения"

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35332
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: Broadcom WiFi

Непрочитанное сообщение Alex Keda » 2009-01-27 7:04:57

а у нас? =)
Убей их всех! Бог потом рассортирует...

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: Broadcom WiFi

Непрочитанное сообщение paradox » 2009-01-27 7:29:37

если бы у нас хоть как то работало

то добавили бы уже давным давно
там основная проблема токо завести DMA и соеденить с бсдстеком 802.11

а у линухоидов оно уже давно как то работает
так что у меня токо улыбку вызывают ихние мучения ....

Аватара пользователя
_self
рядовой
Сообщения: 17
Зарегистрирован: 2008-12-08 21:32:09

Re: Broadcom WiFi

Непрочитанное сообщение _self » 2009-02-08 15:06:17

Помогите, плиз, увидеть карточку драйвером :)
Пытался собрать bwi.01 и bwi.02 - не видит ни в какую.
Ноут Dell Inspiron 1525
Мои действия:

Код: Выделить всё

# uname -a
FreeBSD  7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
# pciconf -lvc
hostb0@pci0:0:0:0:      class=0x060000 card=0x022f1028 chip=0x2a008086 rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile PM965/GM965/GL960 Express Processor to DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
    cap 09[e0] = vendor (length 10) Intel cap 9 version 1
vgapci0@pci0:0:2:0:     class=0x030000 card=0x022f1028 chip=0x2a028086 rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 965 Express Integrated Graphics Controller'
    class      = display
    subclass   = VGA
    cap 05[90] = MSI supports 1 message
    cap 01[d0] = powerspec 3  supports D0 D3  current D0
vgapci1@pci0:0:2:1:     class=0x038000 card=0x022f1028 chip=0x2a038086 rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 965 Express Integrated Graphics Controller'
    class      = display
    cap 01[d0] = powerspec 3  supports D0 D3  current D0
uhci0@pci0:0:26:0:      class=0x0c0300 card=0x022f1028 chip=0x28348086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) USB UHCI'
    class      = serial bus
    subclass   = USB
uhci1@pci0:0:26:1:      class=0x0c0300 card=0x022f1028 chip=0x28358086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) USB UHCI'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:26:7:      class=0x0c0320 card=0x022f1028 chip=0x283a8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '81EC1043 (?) ICH8 Enhanced USB2 Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14
none0@pci0:0:27:0:      class=0x040300 card=0x022f1028 chip=0x284b8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H &SUBSYS_81EC1043&REV_02\3&11583659&0&D8'
    class      = multimedia
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 05[60] = MSI supports 1 message, 64 bit
    cap 10[70] = PCI-Express 1 type 0
pcib1@pci0:0:28:0:      class=0x060400 card=0x022f1028 chip=0x283f8086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) PCIe Port 1'
    class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 1 root port
    cap 05[80] = MSI supports 1 message
    cap 0d[90] = PCI Bridge card=0x022f1028
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
pcib2@pci0:0:28:1:      class=0x060400 card=0x022f1028 chip=0x28418086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) PCIe Port 2'
    class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 1 root port
    cap 05[80] = MSI supports 1 message
    cap 0d[90] = PCI Bridge card=0x022f1028
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
pcib3@pci0:0:28:4:      class=0x060400 card=0x022f1028 chip=0x28478086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) PCIe Port 5'
    class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 1 root port
    cap 05[80] = MSI supports 1 message
    cap 0d[90] = PCI Bridge card=0x022f1028
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
uhci2@pci0:0:29:0:      class=0x0c0300 card=0x022f1028 chip=0x28308086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) USB UHCI'
    class      = serial bus
    subclass   = USB
uhci3@pci0:0:29:1:      class=0x0c0300 card=0x022f1028 chip=0x28318086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) USB UHCI'
    class      = serial bus
    subclass   = USB
uhci4@pci0:0:29:2:      class=0x0c0300 card=0x022f1028 chip=0x28328086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) USB UHCI'
    class      = serial bus
    subclass   = USB
ehci1@pci0:0:29:7:      class=0x0c0320 card=0x022f1028 chip=0x28368086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) USB2 EHCI'
    class      = serial bus
    subclass   = USB
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14
pcib4@pci0:0:30:0:      class=0x060401 card=0x022f1028 chip=0x24488086 rev=0xf2 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[50] = PCI Bridge card=0x022f1028
isab0@pci0:0:31:0:      class=0x060100 card=0x022f1028 chip=0x28158086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'ICH8M-E (ICH8 Family) LPC Interface Controller'
    class      = bridge
    subclass   = PCI-ISA
    cap 09[e0] = vendor (length 12) Intel cap 1 version 0
                 features: SATA RAID-5, Mobile, 4 PCI-e x1 slots, SATA RAID-0/1/10
atapci0@pci0:0:31:1:    class=0x01018a card=0x022f1028 chip=0x28508086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) Ultra ATA Storage Controllers'
    class      = mass storage
    subclass   = ATA
atapci1@pci0:0:31:2:    class=0x010601 card=0x022f1028 chip=0x28298086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801 Intel(R) 82801HEM/HBM SATA AHCI Controller'
    class      = mass storage
    cap 05[80] = MSI supports 4 messages
    cap 01[70] = powerspec 3  supports D0 D3  current D0
    cap 12[a8] = unknown
none1@pci0:0:31:3:      class=0x0c0500 card=0x022f1028 chip=0x283e8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801H (ICH8 Family) SMBus Controller'
    class      = serial bus
    subclass   = SMBus
mykc0@pci0:9:0:0:       class=0x020000 card=0x022f1028 chip=0x435411ab rev=0x12 hdr=0x00
    vendor     = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
    class      = network
    subclass   = ethernet
    cap 01[48] = powerspec 3  supports D0 D1 D2 D3  current D0
    cap 05[5c] = MSI supports 1 message, 64 bit
    cap 10[c0] = PCI-Express 2 legacy endpoint
none2@pci0:11:0:0:      class=0x028000 card=0x000b1028 chip=0x431514e4 rev=0x01 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'BCM4310 USB Controller'
    class      = network
    cap 01[40] = powerspec 3  supports D0 D1 D2 D3  current D0
    cap 09[58] = vendor (length 120)
    cap 05[e8] = MSI supports 1 message, 64 bit
    cap 10[d0] = PCI-Express 1 endpoint
fwohci0@pci0:2:9:0:     class=0x0c0010 card=0x022f1028 chip=0x08321180 rev=0x05 hdr=0x00
    vendor     = 'Ricoh Company, Ltd.'
    device     = 'unknown IEEE 1394 (4 pin firewire) chip)'
    class      = serial bus
    subclass   = FireWire
    cap 01[dc] = powerspec 2  supports D0 D1 D2 D3  current D0
none3@pci0:2:9:1:       class=0x080501 card=0x022f1028 chip=0x08221180 rev=0x22 hdr=0x00
    vendor     = 'Ricoh Company, Ltd.'
    device     = 'R5C832, R5C843 SDA Standard Compliant SD Host Controller'
    class      = base peripheral
    cap 01[80] = powerspec 2  supports D0 D1 D2 D3  current D0
none4@pci0:2:9:2:       class=0x088000 card=0x022f1028 chip=0x08431180 rev=0x12 hdr=0x00
    vendor     = 'Ricoh Company, Ltd.'
    device     = 'unknown Ricoh MMC Host Controller'
    class      = base peripheral
    cap 01[80] = powerspec 2  supports D0 D1 D2 D3  current D0
none5@pci0:2:9:3:       class=0x088000 card=0x022f1028 chip=0x05921180 rev=0x12 hdr=0x00
    vendor     = 'Ricoh Company, Ltd.'
    device     = '13871043 Ricoh Memory Stick Host Controller'
    class      = base peripheral
    cap 01[80] = powerspec 2  supports D0 D1 D2 D3  current D0
none6@pci0:2:9:4:       class=0x088000 card=0x022f1028 chip=0x08521180 rev=0x12 hdr=0x00
    vendor     = 'Ricoh Company, Ltd.'
    device     = 'unknown Ricoh xD-Picture Card Host Controller'
    class      = base peripheral
    cap 01[80] = powerspec 2  supports D0 D1 D2 D3  current D0
# dmesg
Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
    root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU     T5850  @ 2.16GHz (2161.26-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fd  Stepping = 13
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 2
real memory  = 2137444352 (2038 MB)
avail memory = 2081964032 (1985 MB)
ACPI APIC Table: <DELL   M08    >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <DELL M08    > on motherboard
acpi0: [ITHREAD]
Timecounter "HPET" frequency 14318180 Hz quality 900
acpi0: reservation of 0, 9f000 (3) failed
acpi0: reservation of 100000, 7f56d800 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0xeff8-0xefff mem 0xfea00000-0xfeafffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci0
agp0: <Intel GM965 SVGA controller> on vgapci0
agp0: detected 7676k stolen memory
agp0: aperture size is 256M
vgapci1: <VGA-compatible display> mem 0xfeb00000-0xfebfffff at device 2.1 on pci0
uhci0: <Intel 82801H (ICH8) USB controller USB-D> port 0x6f20-0x6f3f irq 20 at device 26.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801H (ICH8) USB controller USB-D> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801H (ICH8) USB controller USB-E> port 0x6f00-0x6f1f irq 21 at device 26.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <Intel 82801H (ICH8) USB controller USB-E> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
ehci0: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> mem 0xfed1c400-0xfed1c7ff irq 22 at device 26.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> on ehci0
usb2: USB revision 2.0
uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
uhub2: 4 ports with 4 removable, self powered
ugen0: <OmniVision Technologies, Inc. -2640-07.07.20.3 Laptop Integrated Webcam, class 239/2, rev 2.00/1.00, addr 2> on uhub2
pci0: <multimedia> at device 27.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci9: <ACPI PCI bus> on pcib1
mykc0: <Generic Marvell Yukon 88E8040 PCI-E Fast Ethernet Controller Ver. 10.60.1.3> port 0xde00-0xdeff mem 0xfe8fc000-0xfe8fffff irq 16 at device 0.0 on pci9
myk0 on mykc0
myk0: Ethernet address: 00:1d:09:5e:5b:fb
mykc0: [ITHREAD]
pcib2: <ACPI PCI-PCI bridge> at device 28.1 on pci0
pci11: <ACPI PCI bus> on pcib2
pci11: <network> at device 0.0 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 28.4 on pci0
pci12: <ACPI PCI bus> on pcib3
uhci2: <Intel 82801H (ICH8) USB controller USB-A> port 0x6f80-0x6f9f irq 20 at device 29.0 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb3: <Intel 82801H (ICH8) USB controller USB-A> on uhci2
usb3: USB revision 1.0
uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 2 ports with 2 removable, self powered
uhci3: <Intel 82801H (ICH8) USB controller USB-B> port 0x6f60-0x6f7f irq 21 at device 29.1 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb4: <Intel 82801H (ICH8) USB controller USB-B> on uhci3
usb4: USB revision 1.0
uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
uhub4: 2 ports with 2 removable, self powered
uhci4: <Intel 82801H (ICH8) USB controller USB-C> port 0x6f40-0x6f5f irq 22 at device 29.2 on pci0
uhci4: [GIANT-LOCKED]
uhci4: [ITHREAD]
usb5: <Intel 82801H (ICH8) USB controller USB-C> on uhci4
usb5: USB revision 1.0
uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
uhub5: 2 ports with 2 removable, self powered
ehci1: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> mem 0xfed1c000-0xfed1c3ff irq 20 at device 29.7 on pci0
ehci1: [GIANT-LOCKED]
ehci1: [ITHREAD]
usb6: EHCI version 1.0
usb6: companion controllers, 2 ports each: usb3 usb4 usb5
usb6: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> on ehci1
usb6: USB revision 2.0
uhub6: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb6
uhub6: 6 ports with 6 removable, self powered
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib4
fwohci0: <1394 Open Host Controller Interface> mem 0xfe3ff800-0xfe3fffff irq 16 at device 9.0 on pci2
fwohci0: [FILTER]
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 38:4f:c0:00:34:20:68:70
fwohci0: Phy 1394a available S400, 1 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 3a:4f:c0:20:68:70
fwe0: Ethernet address: 3a:4f:c0:20:68:70
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 38:4f:c0:00:34:20:68:70 @ 0xfffe00000000, S400, maxrec 2048
sbp0: <SBP-2/SCSI over FireWire> on firewire0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x7d144000
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
pci2: <base peripheral> at device 9.1 (no driver attached)
pci2: <base peripheral> at device 9.2 (no driver attached)
pci2: <base peripheral> at device 9.3 (no driver attached)
pci2: <base peripheral> at device 9.4 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH8M UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x6fa0-0x6faf irq 16 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
atapci1: <Intel AHCI controller> port 0x6eb0-0x6eb7,0x6eb8-0x6ebb,0x6ec0-0x6ec7,0x6ec8-0x6ecb,0x6ee0-0x6eff mem 0xfe9fb800-0xfe9fbfff irq 17 at device 31.2 on pci0
atapci1: [ITHREAD]
atapci1: AHCI Version 01.10 controller with 3 ports detected
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: port not implemented
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci1
ata4: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64,0x62,0x66 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model GlidePoint, device ID 0
cpu0: <ACPI CPU> on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcefff,0xcf000-0xcffff pnpid ORM0000 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
uhub7: <Broadcom BCM2045B2, class 9/0, rev 2.00/1.00, addr 2> on uhub5
uhub7: 3 ports with 0 removable, bus powered
ukbd0: <Broadcom Corp product 0x4502, class 0/0, rev 2.00/1.00, addr 3> on uhub7
kbd2 at ukbd0
ums0: <Broadcom Corp product 0x4503, class 0/0, rev 2.00/1.00, addr 4> on uhub7
ums0: 3 buttons.
Timecounters tick every 1.000 msec
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
acd0: DVDR <PBDS DVD+/-RW DS-8W1P/BD1B> at ata0-master UDMA33
ad4: 238475MB <Hitachi HTS542525K9SA00 BBFOC39P> at ata2-master SATA150
acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_Install.
acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad4s1a
myk0: link up
drm0: <Intel i965GM> on vgapci0
info: [drm] AGP at 0xe0000000 256MB
info: [drm] Initialized i915 1.5.0 20060119
drm0: [ITHREAD]
uhub7: at uhub5 port 2 (addr 2) disconnected
ukbd0: at uhub7 port 2 (addr 3) disconnected
ukbd0: detached
ums0: at uhub7 port 3 (addr 4) disconnected
ums0: detached
uhub7: detached
uhub7: <Broadcom BCM2045B2, class 9/0, rev 2.00/1.00, addr 2> on uhub5
uhub7: 3 ports with 0 removable, bus powered
uhub7: port 1 power on failed, STALLED
uhub7: port 2 power on failed, STALLED
uhub7: port 3 power on failed, STALLED
uhub7: at uhub5 port 2 (addr 2) disconnected
uhub7: detached
uhub7: <Broadcom BCM2045B2, class 9/0, rev 2.00/1.00, addr 2> on uhub5
uhub7: 3 ports with 0 removable, bus powered
ukbd0: <Broadcom Corp product 0x4502, class 0/0, rev 2.00/1.00, addr 3> on uhub7
kbd2 at ukbd0
ums0: <Broadcom Corp product 0x4503, class 0/0, rev 2.00/1.00, addr 4> on uhub7
ums0: 3 buttons.
# kldstat
Id Refs Address    Size     Name
 1   12 0xc0400000 97f830   kernel
 2    1 0xc0d80000 34d04    if_myk.ko
 3    2 0xc0db5000 25d8     libmbpool.ko
 4    1 0xc0db8000 6a2c4    acpi.ko
 5    1 0xc5999000 6000     i915.ko
 6    1 0xc599f000 f000     drm.ko
Это исходные данные.
Дальше:

Код: Выделить всё

# cd /tmp
# fetch http://paradox.lissyara.su/bwi.02.tar.bz2
bwi.02.tar.bz2                                100% of   84 kB   41 kBps
# tar -xzvf bwi.02.tar.bz2
x bwi.02/
x bwi.02/bwi/
x bwi.02/bwifw/
x bwi.02/Makefile
x bwi.02/bwifw/ucode5.fw
x bwi.02/bwifw/a0g0bsinitvals2.fw
x bwi.02/bwifw/a0g0bsinitvals5.fw
x bwi.02/bwifw/a0g0initvals2.fw
x bwi.02/bwifw/a0g0initvals5.fw
x bwi.02/bwifw/a0g1bsinitvals5.fw
x bwi.02/bwifw/a0g1initvals5.fw
x bwi.02/bwifw/b0g0bsinitvals2.fw
x bwi.02/bwifw/b0g0bsinitvals5.fw
x bwi.02/bwifw/b0g0initvals2.fw
x bwi.02/bwifw/b0g0initvals5.fw
x bwi.02/bwifw/pcm4.fw
x bwi.02/bwifw/pcm5.fw
x bwi.02/bwifw/ucode11.fw
x bwi.02/bwifw/ucode2.fw
x bwi.02/bwifw/ucode4.fw
x bwi.02/bwifw/Makefile
x bwi.02/bwi/if_bwivar.h
x bwi.02/bwi/bitops.h
x bwi.02/bwi/bwimac.c
x bwi.02/bwi/bwimac.h
x bwi.02/bwi/bwiphy.c
x bwi.02/bwi/bwiphy.h
x bwi.02/bwi/bwirf.c
x bwi.02/bwi/bwirf.h
x bwi.02/bwi/if_bwi.c
x bwi.02/bwi/if_bwi_pci.c
x bwi.02/bwi/if_bwireg.h
x bwi.02/bwi/Makefile
# cd bwi.02
# make
===> bwi (all)
Warning: Object directory not changed from original /tmp/bwi.02/bwi
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
:> opt_inet.h
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c if_bwi.c
if_bwi.c: In function 'bwi_media_change':
if_bwi.c:1638: warning: unused variable 'sc'
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c if_bwi_pci.c
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c bwimac.c
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c bwiphy.c
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c bwirf.c
ld  -d -warn-common -r -d -o if_bwi.kld if_bwi.o if_bwi_pci.o bwimac.o bwiphy.o bwirf.o
:> export_syms
awk -f /sys/conf/kmod_syms.awk if_bwi.kld  export_syms | xargs -J% objcopy % if_bwi.kld
ld -Bshareable  -d -warn-common -o if_bwi.ko if_bwi.kld
objcopy --strip-debug if_bwi.ko
===> bwifw (all)
Warning: Object directory not changed from original /tmp/bwi.02/bwifw
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
ucode11.fw ucode11.fw
ucode2.fw ucode2.fw
ucode4.fw ucode4.fw
ucode5.fw ucode5.fw
a0g0bsinitvals2.fw a0g0bsinitvals2.fw
a0g0bsinitvals5.fw a0g0bsinitvals5.fw
a0g0initvals2.fw a0g0initvals2.fw
a0g0initvals5.fw a0g0initvals5.fw
a0g1bsinitvals5.fw a0g1bsinitvals5.fw
a0g1initvals5.fw a0g1initvals5.fw
b0g0bsinitvals2.fw b0g0bsinitvals2.fw
b0g0bsinitvals5.fw b0g0bsinitvals5.fw
b0g0initvals2.fw b0g0initvals2.fw
b0g0initvals5.fw b0g0initvals5.fw
pcm4.fw pcm4.fw
pcm5.fw pcm5.fw
awk -f @/tools/fw_stub.awk ucode11.fw:bwi_v3_ucode11 ucode2.fw:bwi_v3_ucode2 ucode4.fw:bwi_v3_ucode4 ucode5.fw:bwi_v3_ucode5 a0g0bsinitvals2.fw:bwi_v3_a0g0bsinitvals2 a0g0bsinitvals5.fw:bwi_v3_a0g0bsinitvals5 a0g0initvals2.fw:bwi_v3_a0g0initvals2 a0g0initvals5.fw:bwi_v3_a0g0initvals5 a0g1bsinitvals5.fw:bwi_v3_a0g1bsinitvals5 a0g1initvals5.fw:bwi_v3_a0g1initvals5 b0g0bsinitvals2.fw:bwi_v3_b0g0bsinitvals2 b0g0bsinitvals5.fw:bwi_v3_b0g0bsinitvals5 b0g0initvals2.fw:bwi_v3_b0g0initvals2 b0g0initvals5.fw:bwi_v3_b0g0initvals5 pcm4.fw:bwi_v3_pcm4 pcm5.fw:bwi_v3_pcm5 -mbwi_v3 -cbwi_v3.c
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c bwi_v3.c
ld  -d -warn-common -r -d -o bwi_v3.kld ucode11.fw.fwo ucode2.fw.fwo ucode4.fw.fwo ucode5.fw.fwo a0g0bsinitvals2.fw.fwo a0g0bsinitvals5.fw.fwo a0g0initvals2.fw.fwo a0g0initvals5.fw.fwo a0g1bsinitvals5.fw.fwo a0g1initvals5.fw.fwo b0g0bsinitvals2.fw.fwo b0g0bsinitvals5.fw.fwo b0g0initvals2.fw.fwo b0g0initvals5.fw.fwo pcm4.fw.fwo pcm5.fw.fwo bwi_v3.o
:> export_syms
awk -f /sys/conf/kmod_syms.awk bwi_v3.kld  export_syms | xargs -J% objcopy % bwi_v3.kld
ld -Bshareable  -d -warn-common -o bwi_v3.ko bwi_v3.kld
objcopy --strip-debug bwi_v3.ko
# make install
===> bwi (install)
install -o root -g wheel -m 555   if_bwi.ko /boot/kernel
kldxref /boot/kernel
===> bwifw (install)
install -o root -g wheel -m 555   bwi_v3.ko /boot/kernel
kldxref /boot/kernel
# kldload bwi_v3 if_bwi
# dmesg | grep bwi
# ifconfig bwi0 192.168.0.113 up
ifconfig: interface bwi0 does not exist
# kldstat
Id Refs Address    Size     Name
 1   18 0xc0400000 97f830   kernel
 2    1 0xc0d80000 34d04    if_myk.ko
 3    2 0xc0db5000 25d8     libmbpool.ko
 4    1 0xc0db8000 6a2c4    acpi.ko
 5    1 0xc5999000 6000     i915.ko
 6    1 0xc599f000 f000     drm.ko
 9    1 0xc6be4000 1a000    bwi_v3.ko
10    1 0xc6bfe000 19000    if_bwi.ko
Вот, собственно, что я делал. Что неправильно, подскажите, пожалуйста :)

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: Broadcom WiFi

Непрочитанное сообщение paradox » 2009-02-08 15:25:02

Код: Выделить всё

none2@pci0:11:0:0:      class=0x028000 card=0x000b1028 chip=0x431514e4 rev=0x01 hdr=0x00
увы токо через NDIS

Аватара пользователя
_self
рядовой
Сообщения: 17
Зарегистрирован: 2008-12-08 21:32:09

Re: Broadcom WiFi

Непрочитанное сообщение _self » 2009-02-08 18:44:15

Мдя, огорчает. Попробуем. Может, и на нашу улицу придет праздник, коли доживем ;)

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35332
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: Broadcom WiFi

Непрочитанное сообщение Alex Keda » 2009-02-20 20:03:32

Код: Выделить всё

bwi1@pci0:3:0:0:        class=0x028000 card=0x000318de chip=0x432514e4 rev=0x03 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'BCM4306 802.11b/g Wireless LAN Controller'
    class      = network
    bar   [10] = type Memory, range 32, base 0xd0102000, size 8192, enabled

Код: Выделить всё

bwi1: <Broadcom BCM4306v3 802.11 Wireless Lan> mem 0xd0102000-0xd0103fff irq 20 at device 0.0 on cardbus0
bwi1: [ITHREAD]
bwi1: regwin: type 0x800, rev 4, vendor 0x4243
bwi1: BBP: id 0x4306, rev 0x3, pkg 0
bwi1: nregwin 5, cap 0x00040022
bwi1: regwin: type 0x812, rev 5, vendor 0x4243
bwi1: MAC: rev 5
bwi1: regwin: type 0x80d, rev 2, vendor 0x4243
bwi1: regwin: type 0x807, rev 2, vendor 0x4243
bwi1: regwin: type 0x804, rev 9, vendor 0x4243
bwi1: clksrc CS_OSC
bwi1: clkfreq min 618750, max 631250
bwi1: clksrc CS_OSC
bwi1: clkfreq min 618750, max 631250
bwi1: power on delay 157
bwi1: bus rev 1
bwi1: PCI is enabled
bwi1: card flags 0x0a6d
bwi1: 0th led, act 2, lowact 0
bwi1: 1th led, act 5, lowact 0
bwi1: 2th led, act 4, lowact 0
bwi1: 3th led, act 0, lowact 0
bwi1: MAC was already disabled
bwi1: PHY is linked
bwi1: PHY: type 2, rev 2, ver 2
bwi1: PHY: 11G attach
bwi1: RF: manu 0x17f, type 0x2050, rev 2
bwi1: bus rev 1
bwi1: PHY is linked
bwi1: 30bit bus space
bwi1: max txpower from sprom: 60 dBm
bwi1: invalid antenna gain in sprom
bwi1: ant gain 8 dBm
bwi1: region/domain max txpower 76 dBm
bwi1: max txpower 60 dBm
bwi1: sprom idle tssi: 0x003e
bwi1: TSSI-TX power map:
83 82 82 82 81 81 81 80
80 79 79 78 78 78 77 77
76 76 76 75 74 74 73 72
72 72 71 70 69 69 68 67
67 65 65 64 62 62 60 59
58 57 56 54 53 51 50 48
46 44 42 40 37 35 33 29
26 23 19 15 11 6 0 -5
bwi1: idle tssi0: 62
bwi1: bus rev 1
bwi1: locale: 0
bwi1: WARNING: using obsoleted if_watchdog interface
cardbus0: <simple comms, UART> at device 0.1 (no driver attached)
HP#    
карточка в PCMCI
ща попробую IP прилепить
Убей их всех! Бог потом рассортирует...

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: Broadcom WiFi

Непрочитанное сообщение paradox » 2009-02-20 20:07:17

bwi0 up нужно было сделать и лог

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35332
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: Broadcom WiFi

Непрочитанное сообщение Alex Keda » 2009-02-20 20:13:32

а пофигу.
я щас уже через него пишу =)))
в логи непрерывно гадит вот так:

Код: Выделить всё

Feb 20 20:11:51 HP kernel: , 0 0x00010000, 1 0x00000000, 2 0x00000000, 3 0x00000000, 4 0x00000000, 5 0x00000000
Feb 20 20:11:51 HP kernel: bwi1: lna_gain 3, phyinfo 0xfc46
Feb 20 20:11:51 HP kernel: bwi1: intr status 0x0000c5c0
Feb 20 20:11:51 HP kernel: bwi1: TX/RX intr
Feb 20 20:11:51 HP kernel: , 0 0x00010000, 1 0x00000000, 2 0x00000000, 3 0x00000000, 4 0x00000000, 5 0x00000000
Feb 20 20:11:51 HP kernel: bwi1: lna_gain 3, phyinfo 0xfc39
Feb 20 20:11:51 HP kernel: bwi1: intr status 0x0000c5c0
Feb 20 20:11:51 HP kernel: bwi1: TX/RX intr
Feb 20 20:11:51 HP kernel: , 0 0x00010000, 1 0x00000000, 2 0x00000000, 3 0x00000000, 4 0x00000000, 5 0x00000000
Feb 20 20:11:51 HP kernel: bwi1: lna_gain 3, phyinfo 0xfc29
Feb 20 20:11:51 HP kernel: bwi1: idx 104, pkt_len 119, buflen 197
Feb 20 20:11:51 HP kernel: bwi1: idx 105, pkt_len 109, buflen 187
Feb 20 20:11:51 HP kernel: bwi1: intr status 0x20004580
Feb 20 20:11:51 HP kernel: bwi1: TX/RX intr
Feb 20 20:11:51 HP kernel: , 0 0x00000000, 1 0x00000000, 2 0x00000000, 3 0x00000000, 4 0x00000000, 5 0x00000000
Feb 20 20:11:51 HP kernel: bwi1: txeof idx 104, acked 2, data_txcnt 1, ni 0xfffffffe407d6000
Feb 20 20:11:51 HP kernel: bwi1: intr status 0x000045c0
Feb 20 20:11:51 HP kernel: bwi1: TX/RX intr
Feb 20 20:11:51 HP kernel: , 0 0x00010000, 1 0x00000000, 2 0x00000000, 3 0x00000000, 4 0x00000000, 5 0x00000000
Feb 20 20:11:51 HP kernel: bwi1: lna_gain 3, phyinfo 0xfff8
Feb 20 20:11:51 HP kernel: bwi1: intr status 0x20004580
Feb 20 20:11:51 HP kernel: bwi1: TX/RX intr
Выглядит так:

Код: Выделить всё

HP$ ifconfig bwi1
bwi1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
        ether 00:1b:59:08:7f:21
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
        status: associated
HP$ ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:1b:59:08:7f:21
        inet 192.168.250.2 netmask 0xffffff00 broadcast 192.168.250.255
        media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11g
        status: associated
        ssid ussr_wi_fi_lan channel 6 (2437 Mhz 11g) bssid 00:1e:8c:e6:36:1b
        country US authmode WPA privacy ON deftxkey UNDEF TKIP 2:128-bit
        txpower 0 bmiss 7 scanvalid 60 protmode CTS roaming MANUAL
HP$   
Убей их всех! Бог потом рассортирует...

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35332
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: Broadcom WiFi

Непрочитанное сообщение Alex Keda » 2009-02-20 20:14:23

ну и вопрос - а собсно - на данный момент что мешает включить эти исходные коды в дерево сорцов FreeBSD?
Убей их всех! Бог потом рассортирует...