Date: Sun, 28 Sep 2008 23:24:38 +0100 From: Bruce Cran <bruce@cran.org.uk> To: Pegasus McCleaft <ken@hercules.mthelicon.com> Cc: freebsd-hackers@freebsd.org Subject: Re: atacontrol broken in 7.1-PR Message-ID: <20080928232438.5d0c4a55@tau.draftnet> In-Reply-To: <20080928103937.U51561@hercules.mthelicon.com> References: <20080928103937.U51561@hercules.mthelicon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--MP_/H6g2ECN/9OmrKM3smoks9o5 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sun, 28 Sep 2008 10:43:58 +0000 (UTC) Pegasus McCleaft <ken@hercules.mthelicon.com> wrote: > Hello everyone. > > I was wondering if anyone else is experiencing this problem. > I have recently reloaded my machine (due to a meltdown of my primary > boot drive) and noticed that under 7.0-rel the atacontrol command > seems to work great, however, under 7.1 I get and error > > atacontrol: ioctl(IOCATADEVICES): Device not configured > > Has anyone else seen this error. I wouldent be conserned if > it wasent for the fact that it worked under 7.0-rel but now dosent. > The machine is using both the: > > atapci0: <SiI SiI 3132 SATA300 controller> > atapci1: <JMicron JMB363 SATA300 controller> I'm also seeing this problem on my amd64 7.1-PRERELEASE system: > atacontrol list ATA channel 0: Master: acd0 <HL-DT-ST DVD+/-RW GSA-T11N/A102> ATA/ATAPI revision 5 Slave: no device present atacontrol: ioctl(IOCATADEVICES): Device not configured I've attached the dmesg, and truss output from "atacontrol list". -- Bruce Cran --MP_/H6g2ECN/9OmrKM3smoks9o5 Content-Type: text/plain; name=atacontrol_truss.txt Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=atacontrol_truss.txt __sysctl(0x7fffffffe8b0,0x2,0x7fffffffe8cc,0x7fffffffe8c0,0x0,0x0) = 0 (0x0) mmap(0x0,576,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365149184 (0x800529000) munmap(0x800529000,576) = 0 (0x0) __sysctl(0x7fffffffe920,0x2,0x800630fc8,0x7fffffffe918,0x0,0x0) = 0 (0x0) mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34365149184 (0x800529000) issetugid(0x80052a015,0x800524869,0x800634910,0x8006348e0,0x57ac,0x7fffffffe918) = 0 (0x0) open("/etc/libmap.conf",O_RDONLY,0666) ERR#2 'No such file or directory' open("/var/run/ld-elf.so.hints",O_RDONLY,057) = 3 (0x3) read(3,"Ehnt\^A\0\0\0\M^@\0\0\0\M^\\0\0"...,128) = 128 (0x80) lseek(3,0x80,SEEK_SET) = 128 (0x80) read(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,156) = 156 (0x9c) close(3) = 0 (0x0) access("/lib/libc.so.7",0) = 0 (0x0) open("/lib/libc.so.7",O_RDONLY,030607240) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=17511,size=1174560,blksize=4096 }) = 0 (0x0) read(3,"\^?ELF\^B\^A\^A\t\0\0\0\0\0\0\0"...,4096) = 4096 (0x1000) mmap(0x0,2240512,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_NOCORE,3,0x0) = 34366246912 (0x800635000) mprotect(0x800724000,4096,PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0) mprotect(0x800724000,4096,PROT_READ|PROT_EXEC) = 0 (0x0) mmap(0x800824000,118784,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0xef000) = 34368274432 (0x800824000) mmap(0x800841000,94208,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 34368393216 (0x800841000) close(3) = 0 (0x0) sysarch(0x81,0x7fffffffe9a0,0x80052e088,0x0,0xffffffffffd03650,0x7fffffffe6f8) = 0 (0x0) mmap(0x0,384,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365181952 (0x800531000) munmap(0x800531000,384) = 0 (0x0) mmap(0x0,42096,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365181952 (0x800531000) munmap(0x800531000,42096) = 0 (0x0) __sysctl(0x7fffffffe950,0x2,0x800841ae0,0x7fffffffe948,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) open("/dev/ata",O_RDWR,037777766320) = 3 (0x3) ioctl(3,IOCATAGMAXCHANNEL,0xffffec20) = 0 (0x0) ioctl(3,IOCATADEVICES,0xffffe590) = 0 (0x0) fstat(1,{ mode=-rw-r--r-- ,inode=307828,size=2281,blksize=4096 }) = 0 (0x0) __sysctl(0x7fffffffdba0,0x2,0x800845b48,0x7fffffffdbb8,0x0,0x0) = 0 (0x0) __sysctl(0x7fffffffd6f0,0x2,0x8008547d8,0x7fffffffd6e8,0x0,0x0) = 0 (0x0) __sysctl(0x7fffffffd730,0x2,0x7fffffffd74c,0x7fffffffd740,0x0,0x0) = 0 (0x0) readlink("/etc/malloc.conf",0x7fffffffd790,1024) ERR#2 'No such file or directory' issetugid(0x80071c2aa,0x7fffffffd790,0xffffffffffffffff,0x0,0xffffffff80ac1c40,0x7fffffffd768) = 0 (0x0) break(0x600000) = 0 (0x0) break(0x700000) = 0 (0x0) ioctl(3,IOCATADEVICES,0xffffe590) ERR#6 'Device not configured' atacontrol: write(2,"atacontrol: ",12) = 12 (0xc) ioctl(IOCATADEVICES)write(2,"ioctl(IOCATADEVICES)",20) = 20 (0x14) : write(2,": ",2) = 2 (0x2) Device not configured write(2,"Device not configured\n",22) = 22 (0x16) ATA channel 0: Master: acd0 <HL-DT-ST DVD+/-RW GSA-T11N/A102> ATA/ATAPI revision 5 Slave: no device present write(1,"ATA channel 0:\n Master: acd0"...,122) = 122 (0x7a) process exit, rval = 1 --MP_/H6g2ECN/9OmrKM3smoks9o5 Content-Type: text/plain; name=dmesg_7_1PRE_amd64.txt Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=dmesg_7_1PRE_amd64.txt Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.1-PRERELEASE #0: Fri Sep 12 22:23:24 BST 2008 brucec@tau.draftnet:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-52 (1600.06-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x40f82 Stepping = 2 Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Features2=0x2001<SSE3,CX16> AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!> AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8> Cores per package: 2 usable memory = 2065436672 (1969 MB) avail memory = 1992933376 (1900 MB) ACPI APIC Table: <PTLTD APIC > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 <Version 2.1> irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: <DELL M08 > on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) unknown: I/O range not supported acpi0: reservation of 0, 1000 (3) failed ACPI HPET table warning: Sequence is non-zero (2) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_ec0: <Embedded Controller: GPE 0x14> port 0x62,0x66 on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 vgapci0: <VGA-compatible display> port 0x9000-0x90ff mem 0xd4000000-0xd7ffffff,0xd0100000-0xd010ffff irq 17 at device 5.0 on pci1 pcib2: <ACPI PCI-PCI bridge> at device 5.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pcib3: <ACPI PCI-PCI bridge> at device 6.0 on pci0 pci5: <ACPI PCI bus> on pcib3 pci5: <network> at device 0.0 (no driver attached) atapci0: <ATI IXP600 SATA300 controller> port 0x8438-0x843f,0x8454-0x8457,0x8430-0x8437,0x8450-0x8453,0x8400-0x840f mem 0xd0004000-0xd00043ff irq 22 at device 18.0 on pci0 atapci0: [ITHREAD] atapci0: AHCI Version 01.10 controller with 4 ports detected ata2: <ATA channel 0> on atapci0 ata2: [ITHREAD] ata3: <ATA channel 1> on atapci0 ata3: [ITHREAD] ata4: <ATA channel 2> on atapci0 ata4: [ITHREAD] ata5: <ATA channel 3> on atapci0 ata5: [ITHREAD] ohci0: <OHCI (generic) USB controller> mem 0xd0005000-0xd0005fff irq 16 at device 19.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: <OHCI (generic) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 2 ports with 2 removable, self powered ohci1: <OHCI (generic) USB controller> mem 0xd0006000-0xd0006fff irq 17 at device 19.1 on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: <OHCI (generic) USB controller> on ohci1 usb1: USB revision 1.0 uhub1: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 uhub1: 2 ports with 2 removable, self powered ohci2: <OHCI (generic) USB controller> mem 0xd0007000-0xd0007fff irq 18 at device 19.2 on pci0 ohci2: [GIANT-LOCKED] ohci2: [ITHREAD] usb2: OHCI version 1.0, legacy support usb2: <OHCI (generic) USB controller> on ohci2 usb2: USB revision 1.0 uhub2: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2 uhub2: 2 ports with 2 removable, self powered ohci3: <OHCI (generic) USB controller> mem 0xd0008000-0xd0008fff irq 17 at device 19.3 on pci0 ohci3: [GIANT-LOCKED] ohci3: [ITHREAD] usb3: OHCI version 1.0, legacy support usb3: <OHCI (generic) USB controller> on ohci3 usb3: USB revision 1.0 uhub3: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3 uhub3: 2 ports with 2 removable, self powered ohci4: <OHCI (generic) USB controller> mem 0xd0009000-0xd0009fff irq 18 at device 19.4 on pci0 ohci4: [GIANT-LOCKED] ohci4: [ITHREAD] usb4: OHCI version 1.0, legacy support usb4: <OHCI (generic) USB controller> on ohci4 usb4: USB revision 1.0 uhub4: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4 uhub4: 2 ports with 2 removable, self powered ehci0: <EHCI (generic) USB 2.0 controller> mem 0xd0004400-0xd00044ff irq 19 at device 19.5 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb5: EHCI version 1.0 usb5: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4 usb5: <EHCI (generic) USB 2.0 controller> on ehci0 usb5: USB revision 2.0 uhub5: <ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb5 uhub5: 10 ports with 10 removable, self powered pci0: <serial bus, SMBus> at device 20.0 (no driver attached) atapci1: <ATI IXP600 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8420-0x842f at device 20.1 on pci0 ata0: <ATA channel 0> on atapci1 ata0: [ITHREAD] pci0: <multimedia> at device 20.2 (no driver attached) isab0: <PCI-ISA bridge> at device 20.3 on pci0 isa0: <ISA bus> on isab0 pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0 pci8: <ACPI PCI bus> on pcib4 bfe0: <Broadcom BCM4401-B0 Fast Ethernet> mem 0xd0300000-0xd0301fff irq 21 at device 0.0 on pci8 miibus0: <MII bus> on bfe0 bmtphy0: <BCM4401 10/100baseTX PHY> PHY 1 on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bfe0: Ethernet address: 00:19:b9:54:f0:4a bfe0: [ITHREAD] pci8: <base peripheral> at device 1.0 (no driver attached) pci8: <base peripheral> at device 1.1 (no driver attached) acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 device_attach: acpi_hpet0 attach returned 12 cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 powernow0: <PowerNow! K8> on cpu0 cpu1: <ACPI CPU> on acpi0 powernow1: <PowerNow! K8> on cpu1 acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_acad0: <AC Adapter> on acpi0 battery0: <ACPI Control Method Battery> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 device_attach: acpi_hpet0 attach returned 12 orm0: <ISA Option ROMs> at iomem 0xc0000-0xccfff,0xcd000-0xcdfff on isa0 ppc0: cannot reserve I/O port range sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FILTER] 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 Timecounters tick every 1.000 msec acd0: DVDR <HL-DT-ST DVD+/-RW GSA-T11N/A102> at ata0-master UDMA33 ad4: 114473MB <SAMSUNG HM120JI YF100-15> at ata2-master SATA150 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad4s2a fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 pid 859 (gnome-keyring-daemo), uid 1001: exited on signal 11 (core dumped) umass0: <Macpower &Tytech Tech USB2.0 Enclosure, class 0/0, rev 2.00/1.00, addr 2> on uhub5 da0 at umass-sim0 bus 0 target 0 lun 0 da0: <Maxtor 6 PYVG 1630> Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 239372MB (490234752 512 byte sectors: 255H 63S/T 30515C) --MP_/H6g2ECN/9OmrKM3smoks9o5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080928232438.5d0c4a55>