From owner-freebsd-stable Wed Jun 19 7:52:44 2002 Delivered-To: freebsd-stable@freebsd.org Received: from moo.sysabend.org (moo.sysabend.org [63.86.88.201]) by hub.freebsd.org (Postfix) with ESMTP id B0B0337B404; Wed, 19 Jun 2002 07:52:29 -0700 (PDT) Received: by moo.sysabend.org (Postfix, from userid 1004) id 3B2D3762B; Wed, 19 Jun 2002 07:55:32 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by moo.sysabend.org (Postfix) with ESMTP id 369FD1DA9; Wed, 19 Jun 2002 07:55:32 -0700 (PDT) Date: Wed, 19 Jun 2002 07:55:32 -0700 (PDT) From: Jamie Bowden To: stable@FreeBSD.org Cc: mobile@FreeBSD.org, Soeren Schmidt Subject: Re: ATA Atapi 4.6 Release In-Reply-To: Message-ID: Approved: yep X-representing: Only myself. X-badge: We don't need no stinking badges. X-obligatory-profanity: Fuck X-moo: Moo. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG As of this morning's -STABLE, I decided to risk crashing and playing around with atacontrol on a Dell Latitude C810 and my media bay devices. Being able to swap things in and out of the media bay on the fly is very cool. The only bit I had to figure out was that I had to detach the channel before adding a device. Initially I tried inserting the LS-120 and reinitializing channel 1. The machine didn't panic or lock up, but I couldn't do anything with channel 1 until I rebooted. Things look good: 10:29am ghast /home/jamie %runas atacontrol detach 1 10:29am ghast /home/jamie %runas atacontrol list ATA channel 0: Master: ad0 ATA/ATAPI rev 5 Slave: acd0 ATA/ATAPI rev 3 ATA channel 1: Master: no device present Slave: no device present 10:30am ghast /home/jamie %runas atacontrol attach 1 Master: afd0 ATA/ATAPI rev 0 Slave: no device present 10:30am ghast /home/jamie %runas atacontrol detach 1 10:30am ghast /home/jamie %runas atacontrol list ATA channel 0: Master: ad0 ATA/ATAPI rev 5 Slave: acd0 ATA/ATAPI rev 3 ATA channel 1: Master: no device present Slave: no device present 10:30am ghast /home/jamie %runas atacontrol attach 1 Master: afd0 ATA/ATAPI rev 0 Slave: no device present %uname -a FreeBSD ghast 4.6-STABLE FreeBSD 4.6-STABLE #0: Wed Jun 19 09:13:06 EDT 2002 jamie@ghast:/usr/src/sys/compile/ghast i386 %dmesg Copyright (c) 1992-2002 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.6-STABLE #0: Wed Jun 19 09:13:06 EDT 2002 jamie@ghast:/usr/src/sys/compile/ghast Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (1129.57-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383f9ff real memory = 536780800 (524200K bytes) avail memory = 519077888 (506912K bytes) Preloaded elf kernel "kernel" at 0xc032c000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc032c09c. Preloaded elf module "snd_maestro3.ko" at 0xc032c0ec. Preloaded elf module "snd_pcm.ko" at 0xc032c190. VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc02af4c2 (1000022) VESA: NVidia Pentium Pro MTRR support enabled Using $PIR table, 10 entries at 0xc00fbc20 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xe8000000-0xebffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 pcib2: at device 30.0 on pci0 pci2: on pcib2 pcm0: port 0xec00-0xecff mem 0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2 xl0: <3Com 3c556 Fast Etherlink XL> port 0xe800-0xe8ff mem 0xf8ffd800-0xf8ffd87f,0xf8ffdc00-0xf8ffdc7f irq 10 at device 6.0 on pci2 xl0: Ethernet address: 00:04:76:4c:0d:94 miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci2: (vendor=0x10b7, dev=0x1007) at 6.1 irq 10 pcic0: irq 10 at device 15.0 on pci2 pcic0: PCI Memory allocated: 0x44000000 pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][CSC serial isa irq] pccard0: on pcic0 pcic1: irq 10 at device 15.1 on pci2 pcic1: PCI Memory allocated: 0x44001000 pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][CSC serial isa irq] pccard1: on pcic1 pci2: (vendor=0x104c, dev=0x8027) at 15.2 irq 10 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xbfa0-0xbfaf at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xdce0-0xdcff irq 10 at device 31.2 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 ums0: Logitech USB Mouse, rev 1.10/6.20, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. orm0: