Date: Tue, 12 Sep 2000 10:10:09 -0400 (EDT) From: Mikhail Teterin <mi@aldan.algebra.com> To: stable@freebsd.org, questions@freebsd.org Subject: can't use the smb-device :( Message-ID: <200009121410.e8CEAKj52623@aldan.algebra.com>
next in thread | raw e-mail | index | archive | help
Hello!
I'm trying to monitor the inside temperature of the computer with lmmon
or chm. They both say that smb-device read fails: from ktrace-ing lmmon:
2743 lmmon CALL open(0x80490d5,0x2,0x80490cc)
2743 lmmon NAMI "/dev/smb0"
2743 lmmon RET open 3
2743 lmmon CALL ioctl(0x3,SMB_READB,0xbfbff6cc)
2743 lmmon RET ioctl -1 errno 6 Device not configured
In other words, it can be opened alright (confirmed also with a simple
``time < /dev/smb0''), but can not be ioctl-ed.
Here is the dmesg part, which lists the smb and intpm devices and
friends:
intpm0: <Intel 82371AB Power management controller> \
port 0x2180-0x218f \
irq 9 at device 18.3 on pci0
intpm0: I/O mapped 2180
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped c00
The iic* are compiled into kernel, but not listed by dmesg -- don't know
how important they are:
device iicbus # Bus support, required for ic/iic/iicsmb below.
device iicbb
device iic
device iicsmb # smb over i2c bridge
I tried commenting them out, which made the kernel 100Kb smaller, but
did not help lmmon a bit.
What am I missing? Thanks!
-mi
Full dmesg:
Copyright (c) 1992-2000 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.1-STABLE #0: Thu Sep 7 12:17:28 EDT 2000
root@aldan.algebra.com:/4G/src/sys/compile/RTFM3
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (298.54-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x633 Stepping = 3
Features=0x80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory = 335544320 (327680K bytes)
avail memory = 322564096 (315004K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000
cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000
io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "mi" at 0xc0391000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc0391098.
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> on motherboard
pci0: <PCI bus> on pcib0
pci0: <VGA-compatible display device> at 11.0 irq 16
pci0: <3D Labs Delta graphics accelerator> at 11.1 irq 16
pci0: <3D Labs model 0006 graphics accelerator> at 11.2 irq 16
sym0: <875> port 0xf800-0xf8ff mem 0xfedff000-0xfedfffff,0xfedfec00-0xfedfecff irq 21 at device 13.0 on pci0
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
sym1: <875> port 0xf400-0xf4ff mem 0xfedfd000-0xfedfdfff,0xfedfe800-0xfedfe8ff irq 22 at device 13.1 on pci0
sym1: No NVRAM, ID 7, Fast-20, SE, parity checking
dpt0: <DPT Caching SCSI RAID Controller> port 0xfc60-0xfc7f irq 18 at device 14.0 on pci0
dpt0: DPT PM3224A/9X-R FW Rev. 07CI, 3 channels, 64 CCBs
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xfce0-0xfcff mem 0xfeb00000-0xfebfffff,0xfedfb000-0xfedfbfff irq 20 at device 15.0 on pci0
fxp0: Ethernet address 00:a0:c9:83:0b:d5
pcm0: <AudioPCI ES1371> port 0xfc00-0xfc3f irq 19 at device 16.0 on pci0
isab0: <Intel 82371AB PCI to ISA bridge> at device 18.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfcb0-0xfcbf at device 18.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 18.2 irq 22
intpm0: <Intel 82371AB Power management controller> port 0x2180-0x218f irq 9 at device 18.3 on pci0
intpm0: I/O mapped 2180
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped c00
pci0: <Cirrus Logic GD5480 SVGA controller> at 20.0
isa0: too many dependant configs (8)
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> 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 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <12 virtual consoles, flags=0x200>
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
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 flags 0x10 on isa0
sio1: type 16550A
sio2: configured irq 4 not in bitmap of probed irqs 0
sio2 at port 0x3e8-0x3ef irq 4 flags 0x10 on isa0
sio2: type 8250
pca0 at port 0x40 on isa0
joy0 at port 0x201 on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
vpo0: <Iomega VPI0 Parallel to SCSI interface> on ppbus0
vpo0: PS2 mode
unknown0: <56LC-SM> at port 0x2e8-0x2ef irq 10 drq 5,6 on isa0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging disabled
IPsec: Initialized Security Association Processing.
IPv6 packet filtering initialized, default to accept, logging disabled
SMP: AP CPU #1 Launched!
acd0: CDROM <NEC CD-ROM DRIVE:282> at ata1-master using PIO3
Waiting 9 seconds for SCSI devices to settle
da3 at vpo0 bus 0 target 6 lun 0
da3: <IOMEGA ZIP 100 D.17> Removable Direct Access SCSI-2 device
da3: 96MB (196608 512 byte sectors: 64H 32S/T 96C)
da0 at sym0 bus 0 target 0 lun 0
da0: <SEAGATE ST34371W 0440> Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled
da0: 4148MB (8496884 512 byte sectors: 255H 63S/T 528C)
da2 at sym1 bus 0 target 1 lun 0
da2: <SEAGATE ST32550N 0022> Fixed Direct Access SCSI-2 device
da2: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da2: 2047MB (4194058 512 byte sectors: 255H 63S/T 261C)
da1 at sym1 bus 0 target 0 lun 0
da1: <SEAGATE ST32550N 0021> Fixed Direct Access SCSI-2 device
da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da1: 2047MB (4194058 512 byte sectors: 255H 63S/T 261C)
Mounting root from ufs:/dev/da1s1a
cd0 at dpt0 bus 2 target 6 lun 0
cd0: <YAMAHA CRW4416S 1.0g> Removable CD-ROM SCSI-2 device
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009121410.e8CEAKj52623>
