Re: ATA Atapi 4.6 Release

Jamie Bowden <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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 <IC25N030ATDA04-0/DA4OA70A> ATA/ATAPI rev 5
    Slave:  acd0 <Samsung CD-RW/DVD-ROM SN-308B/U003> 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 <IOMEGA ZIP 250 ATAPI/10.K> 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 <IC25N030ATDA04-0/DA4OA70A> ATA/ATAPI rev 5
    Slave:  acd0 <Samsung CD-RW/DVD-ROM SN-308B/U003> 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 <LS-120 SLIM3 00 UHD Floppy/F710M79K> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
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: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel Generic host to PCI bridge> mem 0xe8000000-0xebffffff at
device 0.0 on pci0
pcib1: <Intel 82801BA/BAM (ICH2) PCI-PCI (AGP) bridge> at device 1.0 on
pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia model 0112 graphics accelerator> at 0.0 irq 11
pcib2: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on
pci0
pci2: <PCI bus> on pcib2
pcm0: <ESS Technology Maestro3> 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: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci2: <unknown card> (vendor=0x10b7, dev=0x1007) at 6.1 irq 10
pcic0: <TI PCI-4451 PCI-CardBus Bridge> 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: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-4451 PCI-CardBus Bridge> 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: <PC Card bus (classic)> on pcic1
pci2: <unknown card> (vendor=0x104c, dev=0x8027) at 15.2 irq 10
isab0: <PCI to ISA bridge (vendor=8086 device=244c)> at device 31.0 on
pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 ATA100 controller> port 0xbfa0-0xbfaf at device 31.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xdce0-0xdcff
irq 10 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) 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
ums0: Logitech USB Mouse, rev 1.10/6.20, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
orm0: <Option ROMs> at iomem
0xc0000-0xcdfff,0xce000-0xce7ff,0xce800-0xcefff,0xcf000-0xcf7ff,0xcf800-0xcffff
on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
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> on isa0
sc0: VGA <8 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 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
joy0 at port 0x201 on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ad0: 28615MB <IC25N030ATDA04-0> [58140/16/63] at ata0-master UDMA100
acd0: CD-RW <Samsung CD-RW/DVD-ROM SN-308B> at ata0-slave WDMA2
Mounting root from ufs:/dev/ad0s3a
0453 : osDbgInit() XXX
nvidia0: <GeForce2 Go> mem 0xe0000000-0xe7ffffff,0xfc000000-0xfcffffff irq
11 at device 0.0 on pci1
afd0: 239MB <IOMEGA ZIP 250 ATAPI> [239/64/32] at ata1-master PIO3
afd0: removed from configuration
afd0: 120MB <LS-120 SLIM3 00 UHD Floppy> [963/8/32] at ata1-master PIO3
afd0: removed from configuration

Jamie Bowden

-- 
"It was half way to Rivendell when the drugs began to take hold"
Hunter S Tolkien "Fear and Loathing in Barad Dur"
Iain Bowen <[email protected]>






To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.