Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2005 00:20:20 +0100
From:      Xavier Maillard <zedek@gnu-rox.org>
To:        freebsd-current@freebsd.org
Subject:   umass doesn't work here
Message-ID:  <plop85fyyz8763.fsf@gnu-rox.org>

index | next in thread | raw e-mail

[-- Attachment #1 --]
I tried for the first time to use my USB key on my -CURRENT
installation and no luck: nothing works :(

I read carrefully all NOTES file and have added:

device usb
device uhci
device umass
device scbus
device da

into my kernel configuration file.

I also have added: usbd_enable="YES" into /etc/rc.conf.

usbd is running:

,----[ ps -ax | grep usbd ]
|   443  ??  Ss     0:00.01 /usr/sbin/usbd
`----

When I plug my USB key, I should see something in my
/var/log/messages as stated into my
/usr/local/etc/devd/umass.conf file:

,----[ umass.conf ]
| attach 100 {
|         device-name "umass[0-9]+" ;
|         action "/usr/bin/logger Le device est attache ; /bin/sleep 3 ; /etc/rc.d/devfs restart" ;
| };
| 
`----

But nothing happens.

Enclosed is my dmesg output.

Any hint would be grantly appreciated.


[-- Attachment #2 --]
Copyright (c) 1992-2005 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 6.0-CURRENT #7: Sun Mar 13 22:29:44 CET 2005
    root@totoz.gnu-rox.org:/usr/obj/usr/src/sys/ZED60
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1600MHz (1598.65-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x695  Stepping = 5
  Features=0xa7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
real memory  = 536281088 (511 MB)
avail memory = 515506176 (491 MB)
NEW_UNRHDR 0-ffffff -> 0xc1a1b9c0
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ACER Cardinal> on motherboard
acpi0: Power Button (fixed)
acpi_ec0: <Embedded Controller: GPE 0x1d> port 0x66,0x62 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci_link0: <ACPI PCI Link LNKA> irq 10 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 10 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 10 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 5 on acpi0
pci_link4: <ACPI PCI Link LNKH> irq 10 on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82855 host to AGP bridge> mem 0xe0000000-0xefffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1800-0x181f irq 10 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801DB (ICH4) USB controller USB-A> 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
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1820-0x183f irq 5 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1840-0x185f irq 10 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci_link5: <ACPI PCI Link LNKE> irq 10 on acpi0
pci_link6: <ACPI PCI Link LNKF> irq 0 on acpi0
pci2: <ACPI PCI bus> on pcib2
pci_link5: Unable to choose an IRQ
bfe0: <Broadcom BCM4401 Fast Ethernet> mem 0xd0204000-0xd0205fff irq 5 at device 2.0 on pci2
miibus0: <MII bus> on bfe0
bmtphy0: <BCM4401 10/100baseTX PHY> on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bfe0: Ethernet address: 00:c0:9f:27:29:ad
pci2: <network> at device 4.0 (no driver attached)
cbb0: <O2Micro OZ711M1 PCI-CardBus Bridge> mem 0xd0207000-0xd0207fff at device 6.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <O2Micro OZ711M1 PCI-CardBus Bridge> at device 6.1 on pci2
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pci2: <base peripheral> at device 6.2 (no driver attached)
fwohci0: <Texas Instruments TSB43AB21/A/AI/A-EP> mem 0xd0200000-0xd0203fff,0xd0209000-0xd02097ff irq 10 at device 7.0 on pci2
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:c0:9f:00:00:0c:09:3a
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: 02:c0:9f:0c:09:3a
fwe0: Ethernet address: 02:c0:9f:0c:09:3a
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
ichss: enabling SpeedStep support
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0x1860-0x186f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pci0: <multimedia, audio> at device 31.5 (no driver attached)
pci0: <simple comms> at device 31.6 (no driver attached)
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_cmbat1: <Control Method Battery> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
pci_link7: <ACPI PCI Link LNKG> irq 0 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
NEW_UNRHDR 0-ffff -> 0xc1be5b80
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xd0000-0xd17ff,0xc0000-0xcffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
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
Timecounter "TSC" frequency 1598650244 Hz quality 800
Timecounters tick every 1.000 msec
NEW_UNRHDR 0-ffffff -> 0xc1bf9840
pid 25: corrected slot count (0->1)
ad0: 57231MB <HITACHI DK23EA-60/00K2A0A1> [116280/16/63] at ata0-master UDMA100
acd0: DVDR <PIONEER DVD-RW DVR-K11/1.00> at ata1-master UDMA33
pccard1: <unknown card> (manufacturer=0xffff, product=0x0001) at function 0
pccard1:    CIS info: O2Micro, SmartCardBus Reader, V1.0
Trying to mount root from ufs:/dev/ad0s1a
drm0: <ATI Radeon Lf R250 Mobility 9000 M9> port 0x3000-0x30ff mem 0xd0100000-0xd010ffff,0xd8000000-0xdfffffff irq 10 at device 0.0 on pci1
info: [drm] AGP at 0xe0000000 256MB
info: [drm] Initialized radeon 1.11.0 20020828 on minor 0
info: [drm] Loading R200 Microcode
ipw0: <Intel(R) PRO/Wireless 2100 MiniPCI> mem 0xd0206000-0xd0206fff irq 9 at device 4.0 on pci2
ipw0: Ethernet address: 00:04:23:58:ff:77
lock order reversal
 1st 0xc1db7480 rtentry (rtentry) @ /usr/src/sys/netinet/if_ether.c:445
 2nd 0xc25efd4c ipw0 (network driver) @ /home/zedek/ipw-freebsd-1.7.1/src/sys/modules/ipw/../../dev/ipw/if_ipw.c:1477
KDB: stack backtrace:
kdb_backtrace(c07c630d,c25efd4c,c1bd2050,c25ed177,c25ecf60) at kdb_backtrace+0x2e
witness_checkorder(c25efd4c,9,c25ecf60,5c5,246) at witness_checkorder+0x6aa
_mtx_lock_flags(c25efd4c,0,c25ecf60,5c5,c07c1c32) at _mtx_lock_flags+0x8a
ipw_start(c25ef000,12b,0,c25ef000) at ipw_start+0x45
if_start(c25ef000,0,c07cbf26,184,202) at if_start+0x99
ether_output_frame(c25ef000,c1d00d00,6,12b,c103e9d8) at ether_output_frame+0x218
ether_output(c25ef000,c1d00d00,eab23a3c,0,2,c1db0001,2302,c07ced2f,1bd,516) at ether_output+0x44e
arprequest(c25ef000,c250f8c8,eab23b10,c246baac,b) at arprequest+0x109
arpresolve(c25ef000,c1db7420,c1d00200,eab23b0c,eab23aa8) at arpresolve+0x32d
ether_output(c25ef000,c1d00200,eab23b0c,c1db7420,c05e3527) at ether_output+0x7c
ip_output(c1d00200,0,eab23b08,0,0) at ip_output+0x7c7
udp_output(c1db5e10,c1d00200,0,0,c1d694b0) at udp_output+0x556
udp_send(c1db4914,0,c1d00200,0,0) at udp_send+0x30
sosend(c1db4914,0,eab23c44,c1d00200,0) at sosend+0x701
kern_sendit(c1d694b0,5,eab23cc4,0,0) at kern_sendit+0x13f
sendit(c1d694b0,5,eab23cc4,0,9791022) at sendit+0x1a9
sendto(c1d694b0,eab23d14,18,3ff,6) at sendto+0x5b
syscall(2f,2f,bfbf002f,bfbfcd10,2857f864) at syscall+0x2a0
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (133, FreeBSD ELF32, sendto), eip = 0x284f183f, esp = 0xbfbfc08c, ebp = 0xbfbfc0b8 ---

[-- Attachment #3 --]
.emacs: Because customisation is fun!

help

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