Date: Mon, 18 Nov 2002 07:29:12 +0100 From: Christian Brueffer <chris@unixpages.org> To: Thomas Quinot <thomas@FreeBSD.ORG> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: apm suspend/resume panic - atapicam related Message-ID: <20021118062912.GG11536@unixpages.org> In-Reply-To: <20021117230520.GB31217@melusine.cuivre.fr.eu.org> References: <20021117032558.GF11536@unixpages.org> <20021117230520.GB31217@melusine.cuivre.fr.eu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--qVHblb/y9DPlgkHs Content-Type: multipart/mixed; boundary="I3tAPq1Rm2pUxvsp" Content-Disposition: inline --I3tAPq1Rm2pUxvsp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 18, 2002 at 12:05:20AM +0100, Thomas Quinot wrote: >=20 > OK, it looks to me like we are invalidating the param field of the > struct atadev for your ata1 slave (BTW, a complete dmesg.boot would be > useful here. >=20 Attached. For completeness, the kernel config is also attached. >=20 > Makes sense. What I cannot entirely figure out is why this does not > happen when you disable ATAPI/CAM. Supposing that your ATAPI device > is a CD drive, do you also have atapicd in the kernel? Does the > 'identify retries exceeded message' also occur when you disable > atapicam? When you disable atapicam, is atapicd enabled? >=20 The ATAPI device is a DVD drive. However there's no slave present: fangorn# atacontrol list ATA channel 0: Master: ad0 <IC25N020ATCS04-0/CA2OA71A> ATA/ATAPI rev 5 Slave: no device present ATA channel 1: Master: acd0 <HL-DT-STDVD-ROM GDR8081N/0012> ATA/ATAPI rev 0 Slave: no device present fangorn# camcontrol devlist <HL-DT-ST DVD-ROM GDR8081N 0012> at scbus1 target 0 lun 0 (pass0) =20 > Also, it would be interesting to know whether the enclosed patch works > around the problem. It is likely to make your ata1-slave device unusable > after a suspend/resume, in which case you should then perform an > 'atacontrol reinit 1' and see if it improves the situation. If you can > test this, please also do an 'atacontrol list 1' and 'camcontrol > devlist' at each step. >=20 > Thanks for taking the time to report this issue! >=20 > Thomas. I'll do the necessary build later today. Thanks so far! - Christian --=20 http://www.unixpages.org chris@unixpages.org GPG Pub-Key : www.unixpages.org/cbrueffer.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D GPG Key ID : 0xA0ED982D --I3tAPq1Rm2pUxvsp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.boot" Content-Transfer-Encoding: quoted-printable 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.7-STABLE #13: Sun Nov 17 04:12:29 CET 2002 chris@milan.hitnet.rwth-aachen.de:/usr/obj/usr/src/sys/FANGORN Timecounter "i8254" frequency 1193182 Hz CPU: Pentium 4 (1599.83-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0xf24 Stepping =3D 4 Features=3D0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA= ,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,<b28>,ACC> real memory =3D 267845632 (261568K bytes) avail memory =3D 256512000 (250500K bytes) Preloaded elf kernel "kernel" at 0xc040b000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 10 entries at 0xc00fdef0 apm0: <APM BIOS> on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82845 Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 agp0: <Intel 82845 host to AGP bridge> mem 0xe0000000-0xe3ffffff at device = 0.0 on pci0 pcib1: <Intel 82845 PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <ATI model 4c59 graphics accelerator> at 0.0 irq 11 uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x1800-0x181f i= rq 11 at device 29.0 on pci0 usb0: <Intel 82801CA/CAM (ICH3) 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 uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0x1820-0x183f i= rq 11 at device 29.1 on pci0 usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> 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: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port 0x1840-0x185f i= rq 11 at device 29.2 on pci0 usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> 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 pcib2: <PCI to PCI bridge (vendor=3D8086 device=3D2448)> at device 30.0 on = pci0 pci2: <PCI bus> on pcib2 wi0: <Intersil Prism2.5> mem 0xf8000000-0xf8000fff irq 11 at device 7.0 on = pci2 wi0: 802.11 address: 00:20:e0:8e:5f:c2 wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI) wi0: Intersil Firmware: Primary 1.00.07, Station 1.03.06 fxp0: <Intel Pro/100 Ethernet> port 0x8000-0x803f mem 0xd0200000-0xd0200fff= irq 11 at device 8.0 on pci2 fxp0: Ethernet address 00:00:e2:8b:c8:5a inphy0: <i82562ET 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcic0: <TI PCI-1410 PCI-CardBus Bridge> irq 11 at device 9.0 on pci2 pcic0: PCI Memory allocated: 0x88000000 pcic0: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC serial isa irq] pccard0: <PC Card 16-bit bus (classic)> on pcic0 isab0: <PCI to ISA bridge (vendor=3D8086 device=3D248c)> at device 31.0 on = pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH3 ATA100 controller> port 0x1860-0x186f,0x374-0x377,0x17= 0-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <unknown card> (vendor=3D0x8086, dev=3D0x2483) at 31.3 irq 11 pcm0: <Intel 82801CA (ICH3)> port 0x18c0-0x18ff,0x1c00-0x1cff irq 11 at dev= ice 31.5 on pci0 pci0: <unknown card> (vendor=3D0x8086, dev=3D0x2486) at 31.6 irq 11 eisa0: <EISA bus> on motherboard eisa0: unknown card @H@0000 (0x01000000) at slot 1 orm0: <Option ROMs> at iomem 0xc0000-0xcefff,0xd0000-0xd17ff,0xdc000-0xdfff= f,0xe0000-0xeffff on isa0 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 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 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 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> ppc0: cannot reserve I/O port range IPsec: Initialized Security Association Processing. IP Filter: v3.4.29 initialized. Default =3D pass all, Logging =3D enabled ata1-slave: ATAPI identify retries exceeded ad0: 19077MB <IC25N020ATCS04-0> [41344/15/63] at ata0-master UDMA100 acd0: DVD-ROM <HL-DT-STDVD-ROM GDR8081N> at ata1-master UDMA33 pass0 at ata1 bus 0 target 0 lun 0 pass0: <HL-DT-ST DVD-ROM GDR8081N 0012> Removable CD-ROM SCSI-0 device=20 pass0: 33.000MB/s transfers Mounting root from ufs:/dev/ad0s1a --I3tAPq1Rm2pUxvsp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=FANGORN machine i386 cpu I686_CPU ident FANGORN maxusers 0 options CPU_ENABLE_SSE makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options DDB options GPL_MATH_EMULATE #Support for x87 emulation options INET #InterNETworking 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 NFS #Network Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=7000 #Delay (in ms) before probing SCSI 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 extensionsoptions _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev device isa device eisa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives #device atapicam options ATA_STATIC_ID #Static device numbering # SCSI peripherals device scbus # SCSI bus (required) device pass # 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? # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # 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 # Advanced Power Management # PCCARD (PCMCIA) support device card device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000 device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 disable # 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 # 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) # Intersil Prism 2.5 device wi # 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 snp 2 # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter # 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 umass # Disks/Mass storage - Requires scbus and da device ums # Mouse # IPFilter options IPFILTER options IPFILTER_LOG # IPSec options options IPSEC options IPSEC_ESP options IPSEC_DEBUG device pcm device agp --I3tAPq1Rm2pUxvsp-- --qVHblb/y9DPlgkHs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE92Ii4bHYXjKDtmC0RAhT4AJ9f6F6zAV51U21OWmvA2dHGQNTgUQCg6tHo Y9HtCNsBeM4I2hHyK9FE+fE= =4Y1y -----END PGP SIGNATURE----- --qVHblb/y9DPlgkHs-- 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?20021118062912.GG11536>