Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2001 23:56:13 -0700
From:      Michelle Brownsworth <michelle@primelogic.com>
To:        freebsd-mobile@freebsd.org
Subject:   Boot hangs on mounting root with wireless card inserted.
Message-ID:  <a05001900b79294fd5109@[192.168.1.1]>

next in thread | raw e-mail | index | archive | help
I'm helping a friend troubleshoot a problem he's having trying to get 
a wireless card to work in his IBM ThinkPad X20 running 4.3-RELEASE. 
It boots up fine with no wireless card inserted but hangs on the 
"Mounting root from ufs:/dev/ad0s4a" with either an SMC SMC2632W (wi) 
or Cisco AiroNet AIR-PCM340 (an) card inserted.  There is support in 
the kernel for both wi and an drivers, as well as PCMCIA support. 
Here's the wi0 configuation followed by dmesg:

 From rc.conf:

ifconfig_wi0="inet 192.168.0.10 netmast 255.255.255.0"
pccard_enable=YES
pccard_ifconfig="inet 192.168.0.10 netmast 255.255.255.0"
pccard_mem="DEFAULT"
pccardd_flags="-z -i 3"

pccard.conf:

card "SMC" "SMC2632W"
	config 0x1 "wi" 3 0x10000
	insert /etc/pccard_ether $device
	insert /etc/start_wi0
	remove /sbin/ifconfig $device delete


start_wi0:

#!/bin/sh

wicontrol -i wi0 -p 1

dmesg:

Copyright (c) 1992-2001 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 4.3-RELEASE #0: Sat Aug  4 20:36:53 PDT 2001
     root@:/usr/src/sys/compile/GOVINDA
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (497.84-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
 
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 335478784 (327616K bytes)
avail memory = 322420736 (314864K bytes)
Preloaded elf kernel "kernel" at 0xc03c9000.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mobility-1 graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1800-0x180f at device 
7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1820-0x183f 
irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip1: <Intel 82371AB Power management controller> port 0x1040-0x104f 
at device 7.3 on pci0
pcic-pci0: <Ricoh RL5C476 PCI-CardBus Bridge> mem 
0x50000000-0x50000fff irq 11 at device 8.0 on pci0
pcic-pci1: <Ricoh RL5C476 PCI-CardBus Bridge> mem 
0x50100000-0x50100fff irq 11 at device 8.1 on pci0
xl0: <3Com 3c556B Fast Etherlink XL> port 0x2000-0x20ff mem 
0xf4003000-0xf400307f,0xf4003400-0xf400347f irq 11 at device 10.0 on 
pci0
xl0: Ethernet address: 00:00:86:4c:fc:97
miibus0: <MII bus> on xl0
nsphy0: <AC101 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <unknown card> (vendor=0x10b7, dev=0x1007) at 10.1 irq 11
pci0: <unknown card> (vendor=0x1013, dev=0x6005) at 11.0 irq 11
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
pcic0: <Intel i82365> at port 0x3e0 iomem 0xd0000 on isa0
pcic0: Polling mode
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: cannot reserve I/O port range
ad0: 19077MB <HITACHI_DK23BA-20B> [41344/15/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s4a

...And that's all she wrote.  Gone away, gone to stay.

FreeBSD shares a drive with Windows and Linux on his IBM; both the 
SMC and Cisco cards seem to work flawlessly with both these OS's.  I 
have an identical wi configuration on my Toshiba Portege running 
4.3-RELEASE and it boots fine with the SMC card and it works 
perfectly.

Any theories as to what the problem may be?  Please cc 
michelle@primelogic.com if you post a response to the list.  Thank ye 
kindly.

.\\ichelle
---------------------
Michelle Brownsworth
System Administrator
PrimeLogic Communications
http://www.primelogic.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a05001900b79294fd5109>