Re: panic with devclass_get_name (dc=0xdeadc0dedeadc0de)

2010-11-26 Thread Alexander Motin
On 27.11.2010 01:08, Roger Hammerstein wrote: > also hard reset before soft reset by changing in file ata-serverworks.c: > if (ata_sata_phy_reset(dev, -1, 1)) > to > if (ata_sata_phy_reset(dev, -1, 0)) ata4: hardware reset ... ata4: SATA connect time=0ms status=0113 ata4: reset tp1 mask=

RE: panic with devclass_get_name (dc=0xdeadc0dedeadc0de)

2010-11-26 Thread Roger Hammerstein
> also hard reset before soft reset by changing in file ata-serverworks.c: > if (ata_sata_phy_reset(dev, -1, 1)) > to > if (ata_sata_phy_reset(dev, -1, 0)) (ada2:ata4:0:0:0): Command timed out (ada2:ata4:0:0:0): Retrying command ata4: hardware reset ... ata4: SATA connect time=0ms

Re: panic with devclass_get_name (dc=0xdeadc0dedeadc0de)

2010-11-24 Thread Alexander Motin
Roger Hammerstein wrote: > Using ATA_CAM it doesn't panic, it removes the bad disk from /dev after > the problem. > > Nov 24 12:36:15 butter kernel: ata4: SATA connect time=0ms status=0113 > Nov 24 12:36:15 butter kernel: ata4: reset tp1 mask=01 ostat0=d0 ostat1=00 > Nov 24 12:36:15 butter ker

RE: panic with devclass_get_name (dc=0xdeadc0dedeadc0de)

2010-11-24 Thread Roger Hammerstein
> Thank you all for the replies. Will try ATA_CAM shortly. > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" Using ATA_CAM it doesn't panic, it removes the bad disk from /dev after the problem. new dmesg and the error log on the bottom Table 'FACP' at 0x7fff0290 T

RE: panic with devclass_get_name (dc=0xdeadc0dedeadc0de)

2010-11-23 Thread Roger Hammerstein
> Roger Hammerstein wrote: > > And then wait 30 seconds to a minute. > > I get a bunch of > > g_vfs_done():ad8[write(offset=146023743488,length=16384)]error=6 > > This part look suspicious. ENXIO may mean that device disappeared. Shown > "use after free" panic also may tell the same. Could you

Re: panic with devclass_get_name (dc=0xdeadc0dedeadc0de)

2010-11-22 Thread Alexander Motin
Hi. Roger Hammerstein wrote: > And then wait 30 seconds to a minute. > I get a bunch of > g_vfs_done():ad8[write(offset=146023743488,length=16384)]error=6 This part look suspicious. ENXIO may mean that device disappeared. Shown "use after free" panic also may tell the same. Could you boot with v

Re: panic with devclass_get_name (dc=0xdeadc0dedeadc0de)

2010-11-22 Thread Andriy Gapon
on 22/11/2010 19:00 Roger Hammerstein said the following: > > > > I can routinely panic a machine with > > dd if=/dev/zero of=/dev/ad8 bs=64k count=100 > > > this part doesn't look good: devclass_get_name (dc=0xdeadc0dedeadc0de) > > > Fatal trap 9: general protection fault while in k

RE: panic with devclass_get_name (dc=0xdeadc0dedeadc0de)

2010-11-22 Thread Roger Hammerstein
> I wonder if this is related to > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/133286 ? I am not sure if that is related, but I can also panic it with just cp -a /usr/src to the WDC disk. butter# mount /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local, multilabel) /dev/ad4s1e on /t

Re: panic with devclass_get_name (dc=0xdeadc0dedeadc0de)

2010-11-22 Thread Bruce Cran
On Mon, 22 Nov 2010 12:00:57 -0500 Roger Hammerstein wrote: > I can routinely panic a machine with > > dd if=/dev/zero of=/dev/ad8 bs=64k count=100 > > this part doesn't look good: devclass_get_name > (dc=0xdeadc0dedeadc0de) > > Fatal trap 9: general protection fault while in kernel mod

panic with devclass_get_name (dc=0xdeadc0dedeadc0de)

2010-11-22 Thread Roger Hammerstein
I can routinely panic a machine with dd if=/dev/zero of=/dev/ad8 bs=64k count=100 this part doesn't look good: devclass_get_name (dc=0xdeadc0dedeadc0de) Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x20:0x805f9f