Last weekend i tried patches from Soren Schmidt to reactivate my old
cdrom which went away after the ata-update around the 18. January. This
patches completely broke ata support for me (that means the kernel did
not boot anymore). Of course i reported this one or two days later.
Now an equivalent variant (while loop instead of goto in ata_getparam ,
ata-all.c,v 1.43) is committed and surprise, the new kernel does not
boot anymore.
The following i had to write down to paper:
ata0-slave: ata_command: timeout waiting for intr
ata0-slave: identify failed
ata0-master: timeout waiting to give command=ec s=90 e=00
ata0-master: identify failed
.... no way to mount root ..
After booting with a 17. January-Kernel i reverted the retry logic in
ata_getparam and had a kernel that booted again but did not recognize my
cdrom drive, here are lines from dmesg (some lines show detection of the
on board soundcard but this is not related to it, i get the same result
when i patch sound/isa/mss.c and sound/isa/sbc.c to switch the card to
sb-mode):
Timecounter "i8254" frequency 1193182 Hz
CPU: AMD-K6(tm) 3D processor (262.36-MHz 586-class CPU)
Origin = "AuthenticAMD" Id = 0x58c Stepping = 12
Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
AMD Features=0x80000800<SYSCALL,3DNow!>
....
ata-pci0: <SiS 5591 ATA-33 controller> port
0x4000-0x400f,0x2000-0x2003,0x80400000-0x80400007,\
0xcc880a4-0xcc880a7,0x2143200-0x2143207 \
irq 0 at device 1.1 on pci0
ata0 at 0x01f0 irq 14 on ata-pci0
....
pcm0: <CMI8330> at port 0x530-0x537,0x388-0x38f irq 5 drq 0 on isa0
device_probe_and_attach: pcm0 attach returned 6
unknown0: <CMI8330/C3D Audio Adapter> at port 0x330-0x331 irq 9 on isa0
unknown1: <CMI8330/C3D Audio Adapter> at port 0x200-0x207 on isa0
unknown2: <CMI8330/C3D Audio Adapter> at port 0x220-0x22f irq 10 drq
1,5 on isa0
and now the failure in detection of the ata0-slave:
ata_command(scp, device, command, 0, 0, 0, 0, 0, ATA_WAIT_INTR) returned
with 0,
but
ata_wait(scp, device, ATA_S_READY|ATA_S_DSC|ATA_S_DRQ)
returned with nonzero value, and so ata_getparam with -1.
At last ad0 was made successfully:
ad0: 14664MB disk <IBM-DJNA-351520> at ata0 as master mode UDMA33
--
Fritz Heinrichmeyer mailto:[EMAIL PROTECTED]
FernUniversitaet Hagen, LG ES, 58084 Hagen (Germany)
tel:+49 2331/987-1166 fax:987-355 http://www-es.fernuni-hagen.de/~jfh
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message