From owner-freebsd-hardware@FreeBSD.ORG Wed Oct 22 18:51:45 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4A9616A4B3 for ; Wed, 22 Oct 2003 18:51:45 -0700 (PDT) Received: from cnst.dnsq.org (user113.net744.nc.sprint-hsd.net [65.41.165.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54FF343FAF for ; Wed, 22 Oct 2003 18:51:44 -0700 (PDT) (envelope-from cnst@rbcmail.ru) Received: from rbcmail.ru (Dell_Inspiron_8100 [192.168.0.1]) by cnst.dnsq.org (8.12.8p1/8.12.8) with ESMTP id h9N1pQHT008635; Wed, 22 Oct 2003 21:51:27 -0400 (EDT) (envelope-from cnst@rbcmail.ru) Message-ID: <3F97340F.4000007@rbcmail.ru> Date: Wed, 22 Oct 2003 21:51:11 -0400 From: Constantine User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.5) Gecko/20031007 X-Accept-Language: en-gb, ru, en-us, en MIME-Version: 1.0 To: Bob Bomar References: <3F972D1A.9010604@rbcmail.ru> <20031023013231.GA57433@chaos.fxp.org> In-Reply-To: <20031023013231.GA57433@chaos.fxp.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hardware@freebsd.org Subject: Re: `atacontrol enclosure` does not work (ioctl(ATAENCSTAT): Device not configured) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 01:51:45 -0000 On 2003-10-22 21:32, Bob Bomar wrote: >On Wed, Oct 22, 2003 at 09:21:30PM -0400, Constantine wrote: > > >>Hello. >> >>It just does not seem to work. How do I fix that? >> >>cnst# whoami >>root >>cnst# atacontrol enclosure 0 0 >>atacontrol: ioctl(ATAENCSTAT): Device not configured >>cnst# uname -r >>4.8-RELEASE >> >> >> > >Can you post some more infomation, i.e. the dmesg output, >the type of device you are trying to work with, etc... > > cnst# dmesg Copyright (c) 1992-2003 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.8-RELEASE #16: Sun May 11 19:24:54 EDT 2003 constant@cnst:/usr/src/sys/compile/MYKERNEL Timecounter "i8254" frequency 1193182 Hz CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz (1800.31-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febfbff real memory = 259981312 (253888K bytes) avail memory = 249397248 (243552K bytes) Preloaded elf kernel "kernel" at 0xc0385000. Preloaded elf module "snd_ich.ko" at 0xc038509c. Preloaded elf module "snd_pcm.ko" at 0xc038513c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 6 entries at 0xc00fdef0 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xee000000-0xee07ffff,0xe0000000-0xe7ffffff irq 5 at device 2.0 on pci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M uhci0: port 0xd800-0xd81f irq 11 at device 29.0 on pci0 usb0: 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: port 0xd000-0xd01f irq 5 at device 29.1 on pci0 usb1: 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: port 0xd400-0xd41f irq 12 at device 29.2 on pci0 usb2: 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: at 29.7 irq 11 pcib1: at device 30.0 on pci0 pci1: on pcib1 sis0: port 0xc000-0xc0ff mem 0xed000000-0xed000fff irq 11 at device 0.0 on pci1 sis0: Ethernet address: 00:09:5b:07:4d:80 miibus0: on sis0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: port 0xc400-0xc43f mem 0xed001000-0xed001fff irq 12 at device 8.0 on pci1 fxp0: Ethernet address 00:01:80:22:48:f2 inphy0: on miibus1 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ichsmb0: port 0x500-0x51f irq 9 at device 31.3 on pci0 pcm0: port 0xe400-0xe43f,0xe000-0xe0ff mem 0xee082000-0xee0820ff,0xee081000-0xee0811ff irq 9 at device 31.5 on pci0 pcm0: atkbdc0: at port 0x60,0x64 on isa0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging disabled ad0: 39266MB [79780/16/63] at ata0-master tagged UDMA100 acd0: DVD-ROM at ata1-master UDMA33 Mounting root from ufs:/dev/ad0s1a cnst# atacontrol info 0 Master: ad0 ATA/ATAPI rev 5 Slave: no device present cnst# cat /root/kernels/MYKERNEL machine i386 cpu I686_CPU ident MYKERNEL maxusers 0 #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev device isa device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID #Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std device agp # support several AGP chipsets # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 #at nexus? disable flags 0x20 # Advanced Power Management device smbus # Bus support, required for smb below. device ichsmb # Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA) # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device sio2 at isa? disable port IO_COM3 irq 5 device sio3 at isa? disable port IO_COM4 irq 9 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device fxp # Intel EtherExpress PRO/100B (82557, 82558) device sis # Silicon Integrated Systems SiS 900/SiS 7016 # Pseudo devices - the number indicates how many units to allocate. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device sl 1 # Kernel SLIP pseudo-device ppp 1 # Kernel PPP pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" pseudo-device gif # IPv6 and IPv4 tunneling pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter options IPFIREWALL #firewall options IPDIVERT #divert sockets # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device ums # Mouse device uscanner # Scanners Cheers, Constantine.