Re: atapicam problem
Hello, I've attached two files. camdebug.log is a standard boot and camdebug_verbose.log is verbose boot. Both logs were captured via the serial console, so there might be control chars in them. Please let me know what else might be helpful. Cheers Benjamin pgpuuVjho1BaU.pgp Description: PGP signature
Re: atapicam problem
* Benjamin Lutz, 2006-10-16 : Well, I'm having problems with that. I built a new kernel with all the CAM debugging options enabled (otherwise it's GENERIC), but this one would panic as soon as I load the atapicam module if I load it manually, or as soon as drive detection starts if the boot loader loads it. I've had a look at the dump with kgdb, and it appears that a null-dereference happens in line 4205 of sys/cam/cam_xpt.c: path2 is NULL. OK, sorry for the delay, can you apply the attached patch and try again? Thomas. Index: cam_xpt.c === RCS file: /space/mirror/ncvs/src/sys/cam/cam_xpt.c,v retrieving revision 1.155.2.8 diff -u -r1.155.2.8 cam_xpt.c --- cam_xpt.c 23 Sep 2006 18:42:08 - 1.155.2.8 +++ cam_xpt.c 26 Oct 2006 09:16:07 - @@ -4202,6 +4202,9 @@ int retval = 0; + if (path1 == NULL || path2 == NULL) + return (-1); + if (path1-bus != path2-bus) { if (path1-bus-path_id == CAM_BUS_WILDCARD) retval = 1; pgpMd4nh8eUoS.pgp Description: PGP signature
Re: atapicam problem
Thomas, do you think this could be related to the problem I= had with atapi_cam slowing my machine down to an unuseable state? n= bsp; Thanks Adam. On Thu Oct 26 9:18 , Thomas Qui= not sent: Well, I'm having problems with that. I built a new kernel with all the CAM debugging options enabled (otherwise it's GENERIC), but this one = br / would panic as soon as I load the atapicam module if I load it = manually, or as soon as drive detection starts if the boot loader load= s it. I've had a look at the dump with kgdb, and it appears that a null-dereference happens in line 4205 of sys/cam/cam_xpt.c: path2 is = br / NULL. OK, sorry for the delay, can you apply the attached patch and try again? Thomas. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: atapicam problem
* [EMAIL PROTECTED], 2006-10-26 : Thomas, do you think this could be related to the problem I had with atapi_cam slowing my machine down to an unuseable state? I don't think the patch I sent would change anything, it's just a plain protection against a null pointer dereference so that we can get debugging traces. With this patch you should be able to run with CAM debugging options, and from there we can hopefully diagnose the exact cause of the problems you're seeing. Thomas. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: atapicam problem
On Monday 16 October 2006 00:40, Thomas Quinot wrote: As I mentioned on the previous thread you quoted, I can't see anything abnormal here. Can you provide complete traces with CAM debugging options enabled? please include boot -v output. Well, I'm having problems with that. I built a new kernel with all the CAM debugging options enabled (otherwise it's GENERIC), but this one would panic as soon as I load the atapicam module if I load it manually, or as soon as drive detection starts if the boot loader loads it. I've had a look at the dump with kgdb, and it appears that a null-dereference happens in line 4205 of sys/cam/cam_xpt.c: path2 is NULL. If it is helpful to you, I can put the kernel and crashdump (74MB) online. (Actually, I think I can produce a much smaller crashdump, that panic happened with some apps already running.) Below are the boot -v output as well as a kgdb log. Cheers Benjamin - START boot -v dmesg - Copyright (c) 1992-2006 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 6.2-PRERELEASE #0: Mon Oct 16 10:26:15 CEST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC_CAMDEBUG ACPI APIC Table: A M I OEMAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz (2400.01-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6f6 Stepping = 6 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0xe3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,b9,CX16,b14,b15 AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 2 real memory = 1073348608 (1023 MB) avail memory = 1032966144 (985 MB) ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: A M I OEMXSDT on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 cpu0: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge irq 16 at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 nvidia0: GeForce 7600 GT port 0x9c00-0x9c7f mem 0xfd00-0xfdff,0xc000-0xcfff,0xfc00-0xfcff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] uhci0: UHCI (generic) USB controller port 0xdc00-0xdc1f irq 16 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] usb0: UHCI (generic) USB controller 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: UHCI (generic) USB controller port 0xe000-0xe01f irq 17 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] usb1: UHCI (generic) USB controller 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 ehci0: EHCI (generic) USB 2.0 controller mem 0xfebffc00-0xfebf irq 18 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] usb2: waiting for BIOS to give up control usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: EHCI (generic) USB 2.0 controller on ehci0 usb2: USB revision 2.0 uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 4 ports with 4 removable, self powered pci0: multimedia at device 27.0 (no driver attached) pcib2: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0 pci3: ACPI PCI bus on pcib2 pcib3: ACPI PCI-PCI bridge irq 16 at device 28.4 on pci0 pci2: ACPI PCI bus on pcib3 atapci0: JMicron JMB363 SATA300 controller port 0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f mem 0xfe9fe000-0xfe9f irq 16 at device 0.0 on pci2 atapci0: AHCI Version 01.00 controller with 2 ports detected ata2: ATA channel 0 on atapci0 ata3: ATA channel 1 on atapci0 ata4: ATA channel 2 on atapci0 uhci2: UHCI (generic) USB controller port 0xd480-0xd49f irq 23 at device 29.0 on pci0 uhci2: [GIANT-LOCKED] usb3: UHCI (generic) USB controller on uhci2 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered uhci3: UHCI (generic) USB controller port 0xd800-0xd81f irq 19 at device 29.1 on pci0 uhci3: [GIANT-LOCKED] usb4: UHCI (generic) USB controller on uhci3 usb4: USB revision 1.0 uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub4: 2 ports with 2 removable, self powered uhci4: UHCI (generic) USB controller port 0xd880-0xd89f irq 18 at device 29.2 on pci0 uhci4: [GIANT-LOCKED] usb5: UHCI (generic) USB controller on uhci4 usb5: USB revision 1.0
Re: atapicam problem
* Benjamin Lutz, 2006-10-11 : This seems to be the exact same issue that I'm having. Since those threads are from March 2006, and I'm running FreeBSD-6.2-PRERELEASE, it appears that the problem has not yet been fixed, so I'd like to ask you to have another look at it. If you need more debugging data, I'll be happy to provide as much as I can, just tell me what you need. As I mentioned on the previous thread you quoted, I can't see anything abnormal here. Can you provide complete traces with CAM debugging options enabled? please include boot -v output. Thomas. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
atapicam problem
Hello Thomas, I'm having an issue with atapicam. Loading the kernel module doesn't create /dev/cd* as expected but seems to have a serious impact on system performance. Compiling it into the kernel causes the boot to hang after detecting acd0 and acd1 (although after reading the mailing list, this may not actually be a hang, but a slowdown, where I'd just have to let it sit 15 minutes - I haven't waited that long). Looking through the freebsd-stable mailing list, it seems that this issue has come up before: http://marc.theaimsgroup.com/?l=freebsd-stablem=114302548927632w=2 http://marc.theaimsgroup.com/?l=freebsd-stablem=114371352507049w=2 http://marc.theaimsgroup.com/?l=freebsd-stablem=114372945516655w=2 This seems to be the exact same issue that I'm having. Since those threads are from March 2006, and I'm running FreeBSD-6.2-PRERELEASE, it appears that the problem has not yet been fixed, so I'd like to ask you to have another look at it. If you need more debugging data, I'll be happy to provide as much as I can, just tell me what you need. Cheers Benjamin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CD Burner and ATAPICAM Problem
Jason Cox [EMAIL PROTECTED] writes: While trying to get CD burning working under FreeBSD 6.0 (and 6.1-PreRelease), I keep getting the following error in my dmesg and cd1 is never created. The drive is a Philips CDRW4012P. It shows up as /dev/acd1 and reports correctly in dmesg. However, once atapicam tries to query it, it just repeats the follwoing (output from dmesg with boot -v): ata1: reiniting channel .. ata1: reset tp1 mask=03 ostat0=50 ostat1=00 ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb ata1: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb ata1: reset tp2 stat0=00 stat1=00 devices=0xcATAPI_SLAVE,ATAPI_MASTER acd0: setting PIO4 on ICH5 chip acd0: setting UDMA33 on ICH5 chip acd1: setting PIO4 on ICH5 chip acd1: setting UDMA33 on ICH5 chip ata1: reinit done .. (probe8:ata1:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe8:ata1:0:1:0): CAM Status: SCSI Status Error (probe8:ata1:0:1:0): SCSI Status: Check Condition (probe8:ata1:0:1:0): ILLEGAL REQUEST asc:20,0 (probe8:ata1:0:1:0): Invalid command operation code (probe8:ata1:0:1:0): (probe8:ata1:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe8:ata1:0:1:0): ILLEGAL REQUEST asc:20,0 (probe8:ata1:0:1:0): Invalid command operation code Unretryable error (probe8:ata1:0:1:0): error 22 (probe8:ata1:0:1:0): Unretryable Error I have looked all over the internet and everywhere says it should have been fixed in 4.7. Any advice on what else to try? Just the fairly standard stuff; start with a GENERIC kernel and see if you can burn with that. Then load atapicam as a module and see what happens, and whether you can burn with cd1 instead of acd1. Also, I'm unable to mount any cd from either the Sony DRU-810A (DVD Burner) or the Philips. What happens when you try? With a GENERIC kernel? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
CD Burner and ATAPICAM Problem
Hello all, While trying to get CD burning working under FreeBSD 6.0 (and 6.1-PreRelease), I keep getting the following error in my dmesg and cd1 is never created. The drive is a Philips CDRW4012P. It shows up as /dev/acd1 and reports correctly in dmesg. However, once atapicam tries to query it, it just repeats the follwoing (output from dmesg with boot -v): ata1: reiniting channel .. ata1: reset tp1 mask=03 ostat0=50 ostat1=00 ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb ata1: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb ata1: reset tp2 stat0=00 stat1=00 devices=0xcATAPI_SLAVE,ATAPI_MASTER acd0: setting PIO4 on ICH5 chip acd0: setting UDMA33 on ICH5 chip acd1: setting PIO4 on ICH5 chip acd1: setting UDMA33 on ICH5 chip ata1: reinit done .. (probe8:ata1:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe8:ata1:0:1:0): CAM Status: SCSI Status Error (probe8:ata1:0:1:0): SCSI Status: Check Condition (probe8:ata1:0:1:0): ILLEGAL REQUEST asc:20,0 (probe8:ata1:0:1:0): Invalid command operation code (probe8:ata1:0:1:0): (probe8:ata1:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe8:ata1:0:1:0): ILLEGAL REQUEST asc:20,0 (probe8:ata1:0:1:0): Invalid command operation code Unretryable error (probe8:ata1:0:1:0): error 22 (probe8:ata1:0:1:0): Unretryable Error I have looked all over the internet and everywhere says it should have been fixed in 4.7. Any advice on what else to try? Also, I'm unable to mount any cd from either the Sony DRU-810A (DVD Burner) or the Philips. Attached is the dmesg output from a regular boot (not a verbose output). Anything else you need to help me with this? Jason Copyright (c) 1992-2005 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 6.1-PRERELEASE #10: Tue Feb 7 13:10:53 CST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TestKernel ACPI APIC Table: INTEL D865GLC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.17-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf27 Stepping = 7 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x4400CNTX-ID,b14 real memory = 536014848 (511 MB) avail memory = 510988288 (487 MB) ioapic0 Version 2.0 irqs 0-23 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: INTEL D865GLC on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 cpu0: ACPI CPU on acpi0 acpi_throttle0: ACPI CPU Throttling on cpu0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: Intel 82865 host to AGP bridge mem 0xe000-0xefff at device 0.0 on pci0 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 nvidia0: GeForce FX 5600 mem 0xfc00-0xfcff,0xd000-0xdfff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xcc00-0xcc1f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: Intel 82801EB (ICH5) 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 82801EB (ICH5) USB controller USB-B port 0xd000-0xd01f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: Intel 82801EB (ICH5) 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 82801EB (ICH5) USB controller USB-C port 0xd400-0xd41f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: Intel 82801EB (ICH5) 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 uhci3: Intel 82801EB (ICH5) USB controller USB-D port 0xd800-0xd81f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: Intel 82801EB (ICH5) USB controller USB-D on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: Intel 82801EB/R (ICH5) USB 2.0 controller mem 0xfe10-0xfe1003ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: waiting for BIOS to give up control usb4: timed out waiting for BIOS usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: Intel 82801EB/R (ICH5) USB 2.0 controller on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0 pci2: ACPI PCI bus on pcib2 atapci0: Promise PDC20268 UDMA100 controller port 0xbc00-0xbc07,0xb800-0xb803,0xb400-0xb407,0xb000-0xb003,0xac00-0xac0f mem
Boot hang (floppy related) (was: Re: atapicam problem (again): hang on boot with DVD burner)
On Thu, 2006-02-09 at 21:18 +0300, Sergey Lungu wrote: On Thu, 09 Feb 2006 17:28:38 + Gavin Atkinson [EMAIL PROTECTED] wrote: On Thu, 2006-02-09 at 19:23 +0300, Sergey Lungu wrote: OK, this is not the atapicam problem (I think), my apologies! I have turned my DVD drive off, but the hang was still there. I have compiled the kernel with DDB and debugging information in order to find the place where the hang happens. This is my first try to look inside the kernel, so don't blame me, please :) start_init - vfs_mountroot - root_mount_wait - g_waitidle: The kernel hangs in that `while'. As far as I can judge, it is waiting for completion of GEOM events handling. Why is it happening and how can I solve this annoying problem? Can you try disabling (by unplugging or setting hints) your floppy drive? Gavin I've turned my floppy off and the hang gone away! :) Thanks a lot! How did you disable it? There's a difference between pulling the cable out and disabling the floppy controller through hints which may be significant. If possible, could you try doing the other one of those two to see what happens? How have you guessed that? Just a hunch... :) Is there a way to keep it, 'cause I'm using it some times? Try setting debug.fdc.debugflags=255 from the loader, then posting the bits of the dmesg relating to the floppy drive. Gavin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot hang (floppy related) (was: Re: atapicam problem (again): hang on boot with DVD burner)
On Fri, 10 Feb 2006 10:37:06 + Gavin Atkinson [EMAIL PROTECTED] wrote: On Thu, 2006-02-09 at 21:18 +0300, Sergey Lungu wrote: On Thu, 09 Feb 2006 17:28:38 + Gavin Atkinson [EMAIL PROTECTED] wrote: On Thu, 2006-02-09 at 19:23 +0300, Sergey Lungu wrote: OK, this is not the atapicam problem (I think), my apologies! I have turned my DVD drive off, but the hang was still there. I have compiled the kernel with DDB and debugging information in order to find the place where the hang happens. This is my first try to look inside the kernel, so don't blame me, please :) start_init - vfs_mountroot - root_mount_wait - g_waitidle: The kernel hangs in that `while'. As far as I can judge, it is waiting for completion of GEOM events handling. Why is it happening and how can I solve this annoying problem? Can you try disabling (by unplugging or setting hints) your floppy drive? Gavin I've turned my floppy off and the hang gone away! :) Thanks a lot! How did you disable it? There's a difference between pulling the cable out and disabling the floppy controller through hints which may be significant. If possible, could you try doing the other one of those two to see what happens? How have you guessed that? Just a hunch... :) Is there a way to keep it, 'cause I'm using it some times? Try setting debug.fdc.debugflags=255 from the loader, then posting the bits of the dmesg relating to the floppy drive. That's really funny! :) I've decided to see if my floppy drive is working at all, but when I was inserting a disk in it I noticed that there already was one. :) Then I've tried to mount that one, but the mount utility hanged. The other disk is working with no problem. So, the problem was that strange floppy disk sitting in my drive. I'm really sorry for bothering all you guys! The real problem was (and still is) my inattentiveness. P.S. This floppy disk does not cause a hang in windows, so I may suppose that there is a bug in fdc! :) -- Sergey Lungu Management can't. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: atapicam problem (again): hang on boot with DVD burner
On Wed, 8 Feb 2006 00:24:44 +0300 Sergey Lungu [EMAIL PROTECTED] wrote: On Tue, 7 Feb 2006 01:59:11 +0300 Sergey Lungu [EMAIL PROTECTED] wrote: Hi! I'm not burning DVDs frequently, so I haven't seen this problem before. I have burned a DVD with growisofs and after that I am seeing a 3-5 min hang at boot time. No error messages at all, just hang :) Here is what I have: Copyright (c) 1992-2005 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 6.1-PRERELEASE #0: Fri Feb 3 11:35:18 MSK 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/OGRE ACPI APIC Table: A M I OEMAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2405.47-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf41 Stepping = 1 [...] acd0: DMA limited to UDMA33, controller found non-ATA66 cable acd0: DVDR PIONEER DVD-RW DVR-110D/1.08 at ata1-master UDMA33 cd0 at ata1 bus 0 target 0 lun 0 cd0: PIONEER DVD-RW DVR-110D 1.08 Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present [3-5 min hang goes here] Trying to mount root from ufs:/dev/ad0s2a The most interesting thing is that I had no such problem before using my DVD burner! Is there a way to fix it? I've been searching mailing-lists and PR-database for my problem solution and found that setting hw.ata.atapi_dma to zero from loader and turning it on back using atacontrol can help. I tried it, but this one doesn't work for me. Any ideas? OK, this is not the atapicam problem (I think), my apologies! I have turned my DVD drive off, but the hang was still there. I have compiled the kernel with DDB and debugging information in order to find the place where the hang happens. This is my first try to look inside the kernel, so don't blame me, please :) start_init - vfs_mountroot - root_mount_wait - g_waitidle: void g_waitidle(void) { g_topology_assert_not(); mtx_assert(Giant, MA_NOTOWNED); mtx_lock(g_eventlock); while (!TAILQ_EMPTY(g_events)) msleep(g_pending_events, g_eventlock, PPAUSE, g_waitidle, hz/5); mtx_unlock(g_eventlock); curthread-td_pflags = ~TDP_GEOM; } The kernel hangs in that `while'. As far as I can judge, it is waiting for completion of GEOM events handling. Why is it happening and how can I solve this annoying problem? -- Sergey Lungu Washing your car to make it rain doesn't work. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: atapicam problem (again): hang on boot with DVD burner
On Tue, 7 Feb 2006 18:07:50 +1030 Malcolm Kay [EMAIL PROTECTED] wrote: On Tue, 7 Feb 2006 09:29 am, Sergey Lungu wrote: Hi! I'm not burning DVDs frequently, so I haven't seen this problem before. I have burned a DVD with growisofs and after that I am seeing a 3-5 min hang at boot time. No error messages at all, just hang :) Here is what I have: Copyright (c) 1992-2005 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 6.1-PRERELEASE #0: Fri Feb 3 11:35:18 MSK 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/OGRE ACPI APIC Table: A M I OEMAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2405.47-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf41 Stepping = 1 [...] acd0: DMA limited to UDMA33, controller found non-ATA66 cable acd0: DVDR PIONEER DVD-RW DVR-110D/1.08 at ata1-master UDMA33 cd0 at ata1 bus 0 target 0 lun 0 cd0: PIONEER DVD-RW DVR-110D 1.08 Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present In my limited experience of hanging on boot up the delay has been caused by the next, not yet announced activity (possibly not a very useful comment). Malcolm As you can see below the next activity is Trying to mount root from ufs:/dev/ad0s2a and it is definitely not the cause of hang. Any way, maybe there is some oher information I can supply to clear the problem up? [3-5 min hang goes here] Trying to mount root from ufs:/dev/ad0s2a The most interesting thing is that I had no such problem before using my DVD burner! Is there a way to fix it? -- Sergey Lungu Please don't steal, the IRS hates competition! ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: atapicam problem (again): hang on boot with DVD burner
Sergey Lungu wrote: Hi! I'm not burning DVDs frequently, so I haven't seen this problem before. I have burned a DVD with growisofs and after that I am seeing a 3-5 min hang at boot time. No error messages at all, just hang :) Here is what I have: Copyright (c) 1992-2005 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 6.1-PRERELEASE #0: Fri Feb 3 11:35:18 MSK 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/OGRE ACPI APIC Table: A M I OEMAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2405.47-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf41 Stepping = 1 [...] acd0: DMA limited to UDMA33, controller found non-ATA66 cable acd0: DVDR PIONEER DVD-RW DVR-110D/1.08 at ata1-master UDMA33 cd0 at ata1 bus 0 target 0 lun 0 cd0: PIONEER DVD-RW DVR-110D 1.08 Removable CD-ROM SCSI-0 device this may not be much help but there is a better firmware available for the DVR110D, mine is on 1.22 and a1.23 is on the Pioneer website cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present [3-5 min hang goes here] Trying to mount root from ufs:/dev/ad0s2a The most interesting thing is that I had no such problem before using my DVD burner! Is there a way to fix it? -- Bill ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: atapicam problem (again): hang on boot with DVD burner
On Tue, 07 Feb 2006 17:34:00 + Bill Smith [EMAIL PROTECTED] wrote: Sergey Lungu wrote: Hi! I'm not burning DVDs frequently, so I haven't seen this problem before. I have burned a DVD with growisofs and after that I am seeing a 3-5 min hang at boot time. No error messages at all, just hang :) Here is what I have: Copyright (c) 1992-2005 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 6.1-PRERELEASE #0: Fri Feb 3 11:35:18 MSK 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/OGRE ACPI APIC Table: A M I OEMAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2405.47-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf41 Stepping = 1 [...] acd0: DMA limited to UDMA33, controller found non-ATA66 cable acd0: DVDR PIONEER DVD-RW DVR-110D/1.08 at ata1-master UDMA33 cd0 at ata1 bus 0 target 0 lun 0 cd0: PIONEER DVD-RW DVR-110D 1.08 Removable CD-ROM SCSI-0 device this may not be much help but there is a better firmware available for the DVR110D, mine is on 1.22 and a1.23 is on the Pioneer website I have updated to 1.39, but this hasn't helped! Any way thanks for the answer. cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present [3-5 min hang goes here] Trying to mount root from ufs:/dev/ad0s2a The most interesting thing is that I had no such problem before using my DVD burner! Is there a way to fix it? -- Bill -- Sergey Lungu It's always darkest before ... daylight saving time. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: atapicam problem (again): hang on boot with DVD burner
On Tue, 7 Feb 2006 01:59:11 +0300 Sergey Lungu [EMAIL PROTECTED] wrote: Hi! I'm not burning DVDs frequently, so I haven't seen this problem before. I have burned a DVD with growisofs and after that I am seeing a 3-5 min hang at boot time. No error messages at all, just hang :) Here is what I have: Copyright (c) 1992-2005 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 6.1-PRERELEASE #0: Fri Feb 3 11:35:18 MSK 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/OGRE ACPI APIC Table: A M I OEMAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2405.47-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf41 Stepping = 1 [...] acd0: DMA limited to UDMA33, controller found non-ATA66 cable acd0: DVDR PIONEER DVD-RW DVR-110D/1.08 at ata1-master UDMA33 cd0 at ata1 bus 0 target 0 lun 0 cd0: PIONEER DVD-RW DVR-110D 1.08 Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present [3-5 min hang goes here] Trying to mount root from ufs:/dev/ad0s2a The most interesting thing is that I had no such problem before using my DVD burner! Is there a way to fix it? I've been searching mailing-lists and PR-database for my problem solution and found that setting hw.ata.atapi_dma to zero from loader and turning it on back using atacontrol can help. I tried it, but this one doesn't work for me. Any ideas? -- Sergey Lungu In any series of calculations, errors tend to occur at the opposite end to the end at which you begin checking for errors. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
atapicam problem (again): hang on boot with DVD burner
Hi! I'm not burning DVDs frequently, so I haven't seen this problem before. I have burned a DVD with growisofs and after that I am seeing a 3-5 min hang at boot time. No error messages at all, just hang :) Here is what I have: Copyright (c) 1992-2005 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 6.1-PRERELEASE #0: Fri Feb 3 11:35:18 MSK 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/OGRE ACPI APIC Table: A M I OEMAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2405.47-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf41 Stepping = 1 [...] acd0: DMA limited to UDMA33, controller found non-ATA66 cable acd0: DVDR PIONEER DVD-RW DVR-110D/1.08 at ata1-master UDMA33 cd0 at ata1 bus 0 target 0 lun 0 cd0: PIONEER DVD-RW DVR-110D 1.08 Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present [3-5 min hang goes here] Trying to mount root from ufs:/dev/ad0s2a The most interesting thing is that I had no such problem before using my DVD burner! Is there a way to fix it? -- Sergey Lungu Real programmers don't comment their code. if it is hard to write, it should be hard to understand. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: atapicam problem (again): hang on boot with DVD burner
On Tue, 7 Feb 2006 09:29 am, Sergey Lungu wrote: Hi! I'm not burning DVDs frequently, so I haven't seen this problem before. I have burned a DVD with growisofs and after that I am seeing a 3-5 min hang at boot time. No error messages at all, just hang :) Here is what I have: Copyright (c) 1992-2005 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 6.1-PRERELEASE #0: Fri Feb 3 11:35:18 MSK 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/OGRE ACPI APIC Table: A M I OEMAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2405.47-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf41 Stepping = 1 [...] acd0: DMA limited to UDMA33, controller found non-ATA66 cable acd0: DVDR PIONEER DVD-RW DVR-110D/1.08 at ata1-master UDMA33 cd0 at ata1 bus 0 target 0 lun 0 cd0: PIONEER DVD-RW DVR-110D 1.08 Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present In my limited experience of hanging on boot up the delay has been caused by the next, not yet announced activity (possibly not a very useful comment). Malcolm [3-5 min hang goes here] Trying to mount root from ufs:/dev/ad0s2a The most interesting thing is that I had no such problem before using my DVD burner! Is there a way to fix it? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ggated, dvd+rw, atapicam problem
On Wed, Nov 24, 2004 at 09:25:28PM -0600, Vulpes Velox wrote: + Just hit a odd problem... here is what I am doing... I have a dvd+rw + drive that I am trying to export using ggated... of which some thing + is going wrong... any one have any idea what is happening? + + I think I provided all the possible info, if any one can think of any + thing more, please let me know. + + + [v42]:/etc# ggatec create 192.168.0.3 /dev/cd0 + ggate0 + [v42]:/etc# dvd+rw-mediainfo /dev/ggate0 + /dev/ggate0: unable to open: Inappropriate ioctl for device + + excert from dmesg... + acd0: DVDR TOSHIBA ODD-DVD SD-R5272/1030 at ata1-master UDMA33 + cd0 at ata1 bus 0 target 0 lun 0 + cd0: TOSHIBA ODD-DVD SD-R5272 1030 Removable CD-ROM SCSI-0 device + cd0: 33.000MB/s transfers + cd0: cd present [338104 x 2048 byte records] + + gg.exports... + 192.168.0.2 RW /dev/acd0 + 192.168.0.2 RW /dev/acd0t01 + 192.168.0.2 RW /dev/cd + + uname -a client box... + FreeBSD vixen42 5.3-STABLE FreeBSD 5.3-STABLE #2: Wed Nov 24 16:04:21 + CST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/vixen42-1 i386 + + uname -a server box... + FreeBSD fennec 5.3-STABLE FreeBSD 5.3-STABLE #0: Wed Nov 10 13:34:27 + CST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/fennec-1 i386 + + + btw the box I am trying to access it from does not have atapicam on it + do to atapicam cuases this box to hardlock since it has two atapi cd + drives on a promise card, which cuases the system to hardlock if any + atapi drives are found hooked up to a promise controller. GEOM Gate can send only I/O requests, it cannot forward ioctls. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpBTaaHI29Bp.pgp Description: PGP signature
ggated, dvd+rw, atapicam problem
Just hit a odd problem... here is what I am doing... I have a dvd+rw drive that I am trying to export using ggated... of which some thing is going wrong... any one have any idea what is happening? I think I provided all the possible info, if any one can think of any thing more, please let me know. [v42]:/etc# ggatec create 192.168.0.3 /dev/cd0 ggate0 [v42]:/etc# dvd+rw-mediainfo /dev/ggate0 /dev/ggate0: unable to open: Inappropriate ioctl for device excert from dmesg... acd0: DVDR TOSHIBA ODD-DVD SD-R5272/1030 at ata1-master UDMA33 cd0 at ata1 bus 0 target 0 lun 0 cd0: TOSHIBA ODD-DVD SD-R5272 1030 Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: cd present [338104 x 2048 byte records] gg.exports... 192.168.0.2 RW /dev/acd0 192.168.0.2 RW /dev/acd0t01 192.168.0.2 RW /dev/cd uname -a client box... FreeBSD vixen42 5.3-STABLE FreeBSD 5.3-STABLE #2: Wed Nov 24 16:04:21 CST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/vixen42-1 i386 uname -a server box... FreeBSD fennec 5.3-STABLE FreeBSD 5.3-STABLE #0: Wed Nov 10 13:34:27 CST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/fennec-1 i386 btw the box I am trying to access it from does not have atapicam on it do to atapicam cuases this box to hardlock since it has two atapi cd drives on a promise card, which cuases the system to hardlock if any atapi drives are found hooked up to a promise controller. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]