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 keyer@ogre.obchaga.org:/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.
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 > keyer@ogre.obchaga.org:/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?
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 > keyer@ogre.obchaga.org:/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
On Tue, 7 Feb 2006 01:59:11 +0300 Sergey Lungu <sergey.lungu@gmail.com> 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 > keyer@ogre.obchaga.org:/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.
Gavin Atkinson
2006-Feb-10 02:37 UTC
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 +0000 Gavin Atkinson > <gavin.atkinson@ury.york.ac.uk> 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