Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
On Wednesday 30 September 2009 03:19 am, Alexander Motin wrote: > Jung-uk Kim wrote: > > On Monday 28 September 2009 02:21 pm, Alexander Motin wrote: > >> PS: I have tried to disable all that ATI-specific code and found > >> that both legacy PCI ATA and AHCI drivers looks like working > >> fine with IXP700. Do we really need AHCI forcing for IXP700? > > > > It enables all six SATA ports as SATA and one PATA channel as > > PATA in the combined mode by forcing the mode. It is not > > absolutely necessary but it is better than without it, IMHO. :-) > > As I have told, with or without this patch I am any way receiving 4 > AHCI channels + 2 PATA + 2 legacy SATA if IDE mode set in BIOS. If > I enable AHCI mode in BIOS I am receiving 6 AHCI + 2 PATA channels. > Looks like Dennis has the same. So 1) I don't see any effect of > this hack on my system, at least with HEAD (is it working?), and 2) > if we are doing all this magic and force AHCI mode for second > controller, IMHO it would be reasonable to enable real AHCI mode to > get all 6 SATA channels there. What's puzzling me whole day is that the hack worked for me at the time (I swear!) but now it doesn't. :-( Originally I thought forcing AHCI mode clears combined mode but it doesn't work any more. I even tried clearing combined mode at SMB controller but it didn't work, either. It is possible that newer ACPICA with "executable at module level" feature did something because its (broken) DSDT reconfigures SATA controller at module level if it is in "native" or "legacy" IDE mode. I'll try something again tomorrow and let you know. Jung-uk Kim ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
Jung-uk Kim wrote: > On Monday 28 September 2009 02:21 pm, Alexander Motin wrote: >> PS: I have tried to disable all that ATI-specific code and found >> that both legacy PCI ATA and AHCI drivers looks like working fine >> with IXP700. Do we really need AHCI forcing for IXP700? > > It enables all six SATA ports as SATA and one PATA channel as PATA in > the combined mode by forcing the mode. It is not absolutely > necessary but it is better than without it, IMHO. :-) As I have told, with or without this patch I am any way receiving 4 AHCI channels + 2 PATA + 2 legacy SATA if IDE mode set in BIOS. If I enable AHCI mode in BIOS I am receiving 6 AHCI + 2 PATA channels. Looks like Dennis has the same. So 1) I don't see any effect of this hack on my system, at least with HEAD (is it working?), and 2) if we are doing all this magic and force AHCI mode for second controller, IMHO it would be reasonable to enable real AHCI mode to get all 6 SATA channels there. -- Alexander Motin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
> Here we can see detected: 4 (not 6!) SATA channels on AHCI controller, > one PATA channel and 2 SATA channels in legacy emulation (why?). It's "native" mode selected by BIOS setup as "default" I hope, this diffs can be useful by some way: ===ahci -> "native"=== 25c25 < real memory = 1609236480 (1534 MB) --- > real memory = 1610285056 (1535 MB) 29,33c29,33 < 0x00c25000 - 0x5e365fff, 1567887360 bytes (382785 pages) < avail memory = 1569984512 (1497 MB) < Table 'FACP' at 0x5feb0290 < Table 'APIC' at 0x5feb0390 < MADT: Found table at 0x5feb0390 --- > 0x00c25000 - 0x5e460fff, 1568915456 bytes (383036 pages) > avail memory = 1571012608 (1498 MB) > Table 'FACP' at 0x5ffb0290 > Table 'APIC' at 0x5ffb0390 > MADT: Found table at 0x5ffb0390 62,70c62,70 < ACPI: XSDT @ 0x0x5feb0100/0x0054 (v 1 092208 XSDT1629 0x20080922 MSFT 0x0097) < ACPI: FACP @ 0x0x5feb0290/0x00F4 (v 3 092208 FACP1629 0x20080922 MSFT 0x0097) < ACPI: DSDT @ 0x0x5feb0440/0x7214 (v 1 A78GM A78GM922 0x0004 INTL 0x20051117) < ACPI: FACS @ 0x0x5febe000/0x0040 < ACPI: APIC @ 0x0x5feb0390/0x006C (v 1 092208 APIC1629 0x20080922 MSFT 0x0097) < ACPI: MCFG @ 0x0x5feb0400/0x003C (v 1 092208 OEMMCFG 0x20080922 MSFT 0x0097) < ACPI: OEMB @ 0x0x5febe040/0x0071 (v 1 092208 OEMB1629 0x20080922 MSFT 0x0097) < ACPI: HPET @ 0x0x5feb7660/0x0038 (v 1 092208 OEMHPET 0x20080922 MSFT 0x0097) < ACPI: SSDT @ 0x0x5feb76a0/0x0350 (v 1 A M I POWERNOW 0x0001 AMD 0x0001) --- > ACPI: XSDT @ 0x0x5ffb0100/0x0054 (v 1 092208 XSDT1629 0x20080922 MSFT > 0x0097) > ACPI: FACP @ 0x0x5ffb0290/0x00F4 (v 3 092208 FACP1629 0x20080922 MSFT > 0x0097) > ACPI: DSDT @ 0x0x5ffb0440/0x7214 (v 1 A78GM A78GM922 0x0004 INTL > 0x20051117) > ACPI: FACS @ 0x0x5ffbe000/0x0040 > ACPI: APIC @ 0x0x5ffb0390/0x006C (v 1 092208 APIC1629 0x20080922 MSFT > 0x0097) > ACPI: MCFG @ 0x0x5ffb0400/0x003C (v 1 092208 OEMMCFG 0x20080922 MSFT > 0x0097) > ACPI: OEMB @ 0x0x5ffbe040/0x0071 (v 1 092208 OEMB1629 0x20080922 MSFT > 0x0097) > ACPI: HPET @ 0x0x5ffb7660/0x0038 (v 1 092208 OEMHPET 0x20080922 MSFT > 0x0097) > ACPI: SSDT @ 0x0x5ffb76a0/0x0350 (v 1 A M I POWERNOW 0x0001 AMD > 0x0001) 134c134 < acpi0: wakeup code va 0x83275000 pa 0x1000 --- > acpi0: wakeup code va 0x8327b000 pa 0x1000 258c258 < acpi0: reservation of 10, 5fe0 (3) failed --- > acpi0: reservation of 10, 5ff0 (3) failed 264,267d263 < Initial Probe 0 11 N 0 4 7 10 11 12 14 15 < Validation 0 11 N 0 4 7 10 11 12 14 15 < After Disable 0 255 N 0 4 7 10 11 12 14 15 < pci_link1:Index IRQ Rtd Ref IRQs 270a267,270 > pci_link1:Index IRQ Rtd Ref IRQs > Initial Probe 0 11 N 0 4 7 10 11 12 14 15 > Validation 0 11 N 0 4 7 10 11 12 14 15 > After Disable 0 255 N 0 4 7 10 11 12 14 15 321c321 < found-> vendor=0x1002, dev=0x4391, revid=0x00 --- > found-> vendor=0x1002, dev=0x4390, revid=0x00 323c323 < class=01-06-01, hdrtype=0x00, mfdev=0 --- > class=01-01-8f, hdrtype=0x00, mfdev=0 341c341 < intpin=a, irq=11 --- > intpin=a, irq=10 350c350 < intpin=a, irq=11 --- > intpin=a, irq=10 359c359 < intpin=b, irq=10 --- > intpin=b, irq=11 379c379 < map[10]: type Memory, range 32, base 0xfe8f7000, size 12, enabled --- > map[10]: type Memory, range 32, base 0xfe8fb000, size 12, enabled 389c389 < map[10]: type Memory, range 32, base 0xfe8f6800, size 8, enabled --- > map[10]: type Memory, range 32, base 0xfe8fa800, size 8, enabled 410c410 < intpin=a, irq=11 --- > intpin=a, irq=10 412c412 < map[10]: type Memory, range 64, base 0xfe8f, size 14, enabled --- > map[10]: type Memory, range 64, base 0xfe8f4000, size 14, enabled 431c431 < map[10]: type Memory, range 32, base 0xfe8f5000, size 12, enabled --- > map[10]: type Memory, range 32, base 0xfe8f9000, size 12, enabled 541c541 < atapci0: port 0xc000-0xc007,0xb000-0xb003,0xa000-0xa007,0x9000-0x9003,0x8000-0x800f mem 0xfe8ff800-0xfe8ffbff irq 22 at device 17.0 on pci0 --- > atapci0: port > 0xc000-0xc007,0xb000-0xb003,0xa000-0xa007,0x9000-0x9003,0x8000-0x800f mem > 0xfe8ff800-0xfe8ffbff irq 22 at device 17.0 on pci0 547c547 < atapci0: AHCI Version 01.10 controller with 6 ports detected --- > atapci0: AHCI Version 01.10 controller with 4 ports detected 569,578d568 < ata6: on atapci0 < ata6: SATA connect status= < ata6: ahci_reset devices=0x0 < ata6: [MPSAFE] < ata6: [ITHREAD] < ata7: on atapci0 < ata7: SATA connect status= < ata7: ahci_reset devices=0x0 < ata7: [MPSAFE] < ata7: [ITHREAD] === ahci -> ahci + combined mode enabled === 264,267d263 < Initial Probe 0 11 N 0 4 7 10 11 12 14 15 < Validation 0 11 N 0 4 7 10 11 12 14 15 < After Disable 0 255 N 0 4 7 10 11 12
Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
On Monday 28 September 2009 02:21 pm, Alexander Motin wrote: > Here we can see detected: 4 (not 6!) SATA channels on AHCI > controller, one PATA channel and 2 SATA channels in legacy > emulation (why?). Actually, the same happens if I comment out all > that device class magic. Looks like the only thing really required > to fix problem with two lost channels is this part of patch: > > -/* IXP600 & IXP700 only have 1 PATA channel */ > -if ((ctlr->chip->chipid == ATA_ATI_IXP600) || > - (ctlr->chip->chipid == ATA_ATI_IXP700)) > +/* IXP600 only have 1 PATA channel */ > +if (ctlr->chip->chipid == ATA_ATI_IXP600) > > Looks like part of changing device class just not working. Today I > have bought IXP700 based board and can acknowledge that the same > situation I can see with recent HEAD. `pciconf -l` reports to me > original PATA device class and only 4 channels reported by AHCI. > > So jkim@, could you please comment, how should it really work and > why it doesn't? My patch fixed two things: a) "combined mode" and b) the above fix. The combined mode is very unusual. When combined mode is turned on from BIOS, two SATA ports appear as legacy ATA device. Depending on the configurations, device ID changes. :-( To enable this feature, some BIOSes allow flexible (and yet confusing) combinations like this: http://people.freebsd.org/~jkim/sb700-ata.png Also, almost all SB700 BIOSes out there have broken ACPI DSDT which do not set these bits properly. Thus, some ports disappear if we don't force setting the subclass and progif. Note it should be *partially* worked around by the latest ACPICA on -CURRENT, though. > PS: I have tried to disable all that ATI-specific code and found > that both legacy PCI ATA and AHCI drivers looks like working fine > with IXP700. Do we really need AHCI forcing for IXP700? It enables all six SATA ports as SATA and one PATA channel as PATA in the combined mode by forcing the mode. It is not absolutely necessary but it is better than without it, IMHO. :-) Jung-uk Kim ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
Dennis Chikin wrote: >> Is it means that all works with this patch? > > No visible ata-specific faults encountered after loading the kernel. > >> Can you show dmesg from patched system? > atapci0: port > 0xc000-0xc007,0xb000-0xb003,0xa000-0xa007,0x9000-0x9003,0x8000-0x800f > mem 0xfe8ff800-0xfe8ffbff irq 22 at device 17.0 on pci0 > atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x8000 > atapci0: Reserved 0x400 bytes for rid 0x24 type 3 at 0xfe8ff800 > ioapic0: routing intpin 22 (PCI IRQ 22) to vector 50 > atapci0: [MPSAFE] > atapci0: [ITHREAD] > atapci0: AHCI Version 01.10 controller with 4 ports detected > ata2: on atapci0 > ata2: SATA connect time=0ms > ata2: SIGNATURE: 0101 > ata2: ahci_reset devices=0x1 > ata2: [MPSAFE] > ata2: [ITHREAD] > ata3: on atapci0 > ata3: SATA connect status= > ata3: ahci_reset devices=0x0 > ata3: [MPSAFE] > ata3: [ITHREAD] > ata4: on atapci0 > ata4: SATA connect status= > ata4: ahci_reset devices=0x0 > ata4: [MPSAFE] > ata4: [ITHREAD] > ata5: on atapci0 > ata5: SATA connect status= > ata5: ahci_reset devices=0x0 > ata5: [MPSAFE] > ata5: [ITHREAD] > atapci1: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on > pci0 > atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xff00 > ata0: on atapci1 > atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 > atapci1: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 > ata0: reset tp1 mask=03 ostat0=7f ostat1=7f > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff > ata0: stat1=0x7f err=0xff lsb=0xff msb=0xff > ata0: reset tp2 stat0=ff stat1=ff devices=0x0 > ioapic0: routing intpin 14 (ISA IRQ 14) to vector 55 > ata0: [MPSAFE] > ata0: [ITHREAD] > ata1: on atapci1 > atapci1: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 > atapci1: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 > ata1: reset tp1 mask=03 ostat0=50 ostat1=50 > ata1: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 > ata1: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb > ata1: reset tp2 stat0=50 stat1=00 devices=0x9 Here we can see detected: 4 (not 6!) SATA channels on AHCI controller, one PATA channel and 2 SATA channels in legacy emulation (why?). Actually, the same happens if I comment out all that device class magic. Looks like the only thing really required to fix problem with two lost channels is this part of patch: -/* IXP600 & IXP700 only have 1 PATA channel */ -if ((ctlr->chip->chipid == ATA_ATI_IXP600) || - (ctlr->chip->chipid == ATA_ATI_IXP700)) +/* IXP600 only have 1 PATA channel */ +if (ctlr->chip->chipid == ATA_ATI_IXP600) Looks like part of changing device class just not working. Today I have bought IXP700 based board and can acknowledge that the same situation I can see with recent HEAD. `pciconf -l` reports to me original PATA device class and only 4 channels reported by AHCI. So jkim@, could you please comment, how should it really work and why it doesn't? PS: I have tried to disable all that ATI-specific code and found that both legacy PCI ATA and AHCI drivers looks like working fine with IXP700. Do we really need AHCI forcing for IXP700? -- Alexander Motin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
> Is it means that all works with this patch? No visible ata-specific faults encountered after loading the kernel. > Can you show dmesg from patched system? Copyright (c) 1992-2009 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 7.2-RELEASE-p3 #0: Sun Sep 27 23:57:27 YEKST 2009 r...@hq.sps.org:/work/usr/obj/work/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0882000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0882188. Calibrating clock(s) ... i8254 clock: 1193131 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 3100300862 Hz CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ (3100.30-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x60fb2 Stepping = 2 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x11f TSC: P-state invariant Cores per package: 2 Data TLB: 32 entries, fully associative Instruction TLB: 32 entries, fully associative L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L2 internal cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative real memory = 1610285056 (1535 MB) Physical memory chunk(s): 0x1000 - 0x0009efff, 647168 bytes (158 pages) 0x0010 - 0x003f, 3145728 bytes (768 pages) 0x00c25000 - 0x5e460fff, 1568915456 bytes (383036 pages) avail memory = 1568407552 (1495 MB) Table 'FACP' at 0x5ffb0290 Table 'APIC' at 0x5ffb0390 MADT: Found table at 0x5ffb0390 MP Configuration Table version 1.4 found at 0xc00fcd20 APIC: Using the MADT enumerator. MADT: Found CPU APIC ID 0 ACPI ID 1: enabled SMP: Added CPU 0 (AP) MADT: Found CPU APIC ID 1 ACPI ID 2: enabled SMP: Added CPU 1 (AP) MADT: Found CPU APIC ID 130 ACPI ID 3: disabled MADT: Found CPU APIC ID 131 ACPI ID 4: disabled ACPI APIC Table: <092208 APIC1629> INTR: Adding local APIC 1 as a target FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 bios32: Found BIOS32 Service Directory header at 0xc00f bios32: Entry = 0xf0010 (c00f0010) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf+0x31 pnpbios: Found PnP BIOS data at 0xc00f4ea0 pnpbios: Entry = f:660a Rev = 1.0 Other BIOS signatures found: APIC: CPU 0 has ACPI ID 1 APIC: CPU 1 has ACPI ID 2 ULE: setup cpu group 0 ULE: setup cpu 0 ULE: adding cpu 0 to group 0: cpus 1 mask 0x1 ULE: setup cpu group 1 ULE: setup cpu 1 ULE: adding cpu 1 to group 1: cpus 1 mask 0x2 ACPI: RSDP @ 0x0xf9d90/0x0024 (v 2 ACPIAM) ACPI: XSDT @ 0x0x5ffb0100/0x0054 (v 1 092208 XSDT1629 0x20080922 MSFT 0x0097) ACPI: FACP @ 0x0x5ffb0290/0x00F4 (v 3 092208 FACP1629 0x20080922 MSFT 0x0097) ACPI: DSDT @ 0x0x5ffb0440/0x7214 (v 1 A78GM A78GM922 0x0004 INTL 0x20051117) ACPI: FACS @ 0x0x5ffbe000/0x0040 ACPI: APIC @ 0x0x5ffb0390/0x006C (v 1 092208 APIC1629 0x20080922 MSFT 0x0097) ACPI: MCFG @ 0x0x5ffb0400/0x003C (v 1 092208 OEMMCFG 0x20080922 MSFT 0x0097) ACPI: OEMB @ 0x0x5ffbe040/0x0071 (v 1 092208 OEMB1629 0x20080922 MSFT 0x0097) ACPI: HPET @ 0x0x5ffb7660/0x0038 (v 1 092208 OEMHPET 0x20080922 MSFT 0x0097) ACPI: SSDT @ 0x0x5ffb76a0/0x0350 (v 1 A M I POWERNOW 0x0001 AMD 0x0001) MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec0 ioapic0: Routing external 8259A's -> intpin 0 MADT: Interrupt override: source 0, irq 2 ioapic0: Routing IRQ 0 -> intpin 2 MADT: Interrupt override: source 9, irq 9 ioapic0: intpin 9 trigger: level ioapic0: intpin 9 polarity: low ioapic0 irqs 0-23 on motherboard cpu0 BSP: ID: 0x VER: 0x80050010 LDR: 0x DFR: 0x lint0: 0x00010700 lint1: 0x0400 TPR: 0x SVR: 0x01ff timer: 0x000100ef therm: 0x0001 err: 0x0001000f pcm: 0x0001 io: null: kbd: new array size 4 kbd1 at kbdmux0 random: mem: Pentium Pro MTRR support enabled npx0: INT 16 interface acpi0: <092208 XSDT1629> on motherboard ioapic0: routing intpin 9 (ISA IRQ 9) to vector 48 acpi0: [MPSAFE] acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: wakeup code va 0xc439b000 pa 0x1000 pci_open(1):mode 1 addr port (0x0cf8) is 0x8000a078 pci_open(1a): mode1res=0x8000 (0x8000) pci_cfgcheck: device 0 [class=06] [hdr=00] is there (id=96001022) pcibios: BIOS version 3.00 AcpiOsDerivePciId: \\_SB_.PCI0.RS78.NB2_ -> bus 0 dev 0 func 0 acpi: bad write to port 0x000 (8), val 0x5a acpi: bad write to port 0x000 (8), val 0x5a acpi: bad write to port 0x000 (8), val 0x7 acpi: bad write to port 0x001 (8), val 0x7 acpi: bad write to port 0x000 (8), val 0x30 acpi: bad read from port 0x001 (8) acpi: bad read from port 0x000 (8) acpi: bad write to port 0x000
Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
Dennis Chikin wrote: Ted and Dennis can you try it? Seems OK. Is it means that all works with this patch? Can you show dmesg from patched system? PS. Please reply to all CC'd recipients (i added persons who can commit this patch). -- WBR, Andrey V. Elsukov ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
On Tue, Sep 22, 2009 at 08:31:39AM -0700, Ted Faber wrote: > On Tue, Sep 22, 2009 at 01:54:42PM +0300, Andriy Gapon wrote: > > > Any ideas? I'll be able to run more diagnostics under 8.0 tonight. > > > > This could be another of GEOM_PART_BSD vs GEOM_BSD issues. > > I think this topic has been discussed several times recently on -current. > > This looks like the problem. Thanks for the pointer. I remembered > something like this, but couldn't put my finger on it. Just to make > life easier for the next guy the thread with this message (which > includes the dd hex that fixes it) seems to cover it. > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=774931+0+archive/2009/freebsd-current/20090118.freebsd-current > > Which looks like the exact right thing for me. I'll follow up when I > know for sure, but thanks much for the pointer! Clearing the old bsdlabel as described in the mail message above fixed my problem seeing the partition table. Now I have to fix the apparently wonky memory,,, >sigh< -- Ted Faber http://www.isi.edu/~faber PGP: http://www.isi.edu/~faber/pubkeys.asc Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG pgpEy5GFog7id.pgp Description: PGP signature
Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
On Wed, Sep 23, 2009 at 08:27:58AM +0400, Andrey V. Elsukov wrote: > Jung-uk Kim wrote: > >This is a known problem and should be fixed in 8.0. Sorry, I haven't > >had time to back-port the code. Proabably it's good time to consider > >testing 8.0-RC1. ;-) > > Hi, > > Can you look at this? > http://butcher.heavennet.ru/patches/kernel/ata/ata-ati-r191568-backport-to-RELENG_7.diff > > So, it isn't tested (sorry, i don't have any test machines with RELENG_7, > only HEAD :) > Ted and Dennis can you try it? I jumped forward to RELENG_8 to get the box up, and dropping back to RELENG_7 is a little bit painful, bit I'll try to give it a shot later this week. -- Ted Faber http://www.isi.edu/~faber PGP: http://www.isi.edu/~faber/pubkeys.asc Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG pgpWlScJlf7r2.pgp Description: PGP signature
Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
Jung-uk Kim wrote: This is a known problem and should be fixed in 8.0. Sorry, I haven't had time to back-port the code. Proabably it's good time to consider testing 8.0-RC1. ;-) Hi, Can you look at this? http://butcher.heavennet.ru/patches/kernel/ata/ata-ati-r191568-backport-to-RELENG_7.diff So, it isn't tested (sorry, i don't have any test machines with RELENG_7, only HEAD :) Ted and Dennis can you try it? -- WBR, Andrey V. Elsukov ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
On Tue, Sep 22, 2009 at 01:54:42PM +0300, Andriy Gapon wrote: > > Any ideas? I'll be able to run more diagnostics under 8.0 tonight. > > This could be another of GEOM_PART_BSD vs GEOM_BSD issues. > I think this topic has been discussed several times recently on -current. This looks like the problem. Thanks for the pointer. I remembered something like this, but couldn't put my finger on it. Just to make life easier for the next guy the thread with this message (which includes the dd hex that fixes it) seems to cover it. http://docs.freebsd.org/cgi/getmsg.cgi?fetch=774931+0+archive/2009/freebsd-current/20090118.freebsd-current Which looks like the exact right thing for me. I'll follow up when I know for sure, but thanks much for the pointer! -- Ted Faber http://www.isi.edu/~faber PGP: http://www.isi.edu/~faber/pubkeys.asc Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG pgptoQEzKQOgc.pgp Description: PGP signature
Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
on 21/09/2009 20:05 Ted Faber said the following: > Thanks for getting back to me. It does seem to be fixed in 8.0-RC1 (and > thanks for that fix, too). That is, 8.0-RC1 finds the drive, but... > > 8.0 (RELENG_8, from last night) doesn't seem to find the FBSD partitions > on the drive. It finds the drive and the BIOS partition (slice). It > fails on my old motherboard (not the one above) that boots 7.2-STABLE > just fine. It drops me into the menu to manually configure the root > partition, but doesn't accept either the native device names for the > root partition (/dev/ad0s1a) or a geom label (/dev/label/root). The > list of GEOM devices only includes ad0 and ad0s1. > > The disk isn't dangerously dedicated, but I only added geom labels to > the partitions last night. The glabels work fine under 7.2-STABLE, but > RELENG_8 seems to ignore them. I've attached output from fdisk, > bsdlabel, and glabel in case I'm misinterpreting them. > > I've been waiting for a free moment to write a more complete report, but > since I've got your attention... > > Any ideas? I'll be able to run more diagnostics under 8.0 tonight. This could be another of GEOM_PART_BSD vs GEOM_BSD issues. I think this topic has been discussed several times recently on -current. -- Andriy Gapon ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
On Mon, Sep 21, 2009 at 12:39:17PM -0400, Jung-uk Kim wrote: > On Friday 18 September 2009 11:52 pm, Ted Faber wrote: > > On Wed, Sep 16, 2009 at 09:13:27AM -0700, Ted Faber wrote: > > > Hi. > > > > > > I'm trying to upgrade a machine to a new motherboard (the ECS > > > A790GXM-AD3 AM3 790GX) my FreeBSD 7-STABLE system (GENERIC > > > kernel, compiled from source on 10 Sept 2009) reaches the point > > > where it's going to mount the root file system and can't find the > > > disk. It drops me into the manual specification of root file > > > system menu, but there are no GEOM-managed disks to choose from. > > > > [...] > > > > I managed to boot FreeBSD on this motherboard using a USB key. > > Attached is the dmesg from a verbose boot. Any help would be > > appreciated. > > This is a known problem and should be fixed in 8.0. Sorry, I haven't > had time to back-port the code. Proabably it's good time to consider > testing 8.0-RC1. ;-) Thanks for getting back to me. It does seem to be fixed in 8.0-RC1 (and thanks for that fix, too). That is, 8.0-RC1 finds the drive, but... 8.0 (RELENG_8, from last night) doesn't seem to find the FBSD partitions on the drive. It finds the drive and the BIOS partition (slice). It fails on my old motherboard (not the one above) that boots 7.2-STABLE just fine. It drops me into the menu to manually configure the root partition, but doesn't accept either the native device names for the root partition (/dev/ad0s1a) or a geom label (/dev/label/root). The list of GEOM devices only includes ad0 and ad0s1. The disk isn't dangerously dedicated, but I only added geom labels to the partitions last night. The glabels work fine under 7.2-STABLE, but RELENG_8 seems to ignore them. I've attached output from fdisk, bsdlabel, and glabel in case I'm misinterpreting them. I've been waiting for a free moment to write a more complete report, but since I've got your attention... Any ideas? I'll be able to run more diagnostics under 8.0 tonight. -- Ted Faber http://www.isi.edu/~faber PGP: http://www.isi.edu/~faber/pubkeys.asc Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG *** Working on device /dev/ad0 *** parameters extracted from in-core disklabel are: cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 488392002 (238472 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 14/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: # /dev/ad0s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 419430404.2BSD0 0 0 b: 20971520 4194304 swap c: 4883920020unused0 0 # "raw" part, don't edit d: 41943040 251658244.2BSD 2048 16384 28552 e: 421283138 671088644.2BSD0 0 0 Name Status Components label/root N/A ad0s1a label/swap N/A ad0s1b label/var N/A ad0s1d label/usr N/A ad0s1e pgpEIGEa7vAvj.pgp Description: PGP signature
Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
On Friday 18 September 2009 11:52 pm, Ted Faber wrote: > On Wed, Sep 16, 2009 at 09:13:27AM -0700, Ted Faber wrote: > > Hi. > > > > I'm trying to upgrade a machine to a new motherboard (the ECS > > A790GXM-AD3 AM3 790GX) my FreeBSD 7-STABLE system (GENERIC > > kernel, compiled from source on 10 Sept 2009) reaches the point > > where it's going to mount the root file system and can't find the > > disk. It drops me into the manual specification of root file > > system menu, but there are no GEOM-managed disks to choose from. > > [...] > > I managed to boot FreeBSD on this motherboard using a USB key. > Attached is the dmesg from a verbose boot. Any help would be > appreciated. This is a known problem and should be fixed in 8.0. Sorry, I haven't had time to back-port the code. Proabably it's good time to consider testing 8.0-RC1. ;-) Jung-uk Kim ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: PATA disks/DVD not detected on ATI IXP 700 - cannot boot (dmesg attached)
On Wed, Sep 16, 2009 at 09:13:27AM -0700, Ted Faber wrote: > Hi. > > I'm trying to upgrade a machine to a new motherboard (the ECS > A790GXM-AD3 AM3 790GX) my FreeBSD 7-STABLE system (GENERIC kernel, > compiled from source on 10 Sept 2009) reaches the point where it's going > to mount the root file system and can't find the disk. It drops me into > the manual specification of root file system menu, but there are no > GEOM-managed disks to choose from. [...] I managed to boot FreeBSD on this motherboard using a USB key. Attached is the dmesg from a verbose boot. Any help would be appreciated. -- Ted Faber http://www.isi.edu/~faber PGP: http://www.isi.edu/~faber/pubkeys.asc Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG Copyright (c) 1992-2009 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 7.2-STABLE #6: Thu Sep 17 17:01:48 PDT 2009 r...@ylum.lunabase.org:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0e85000. Preloaded elf module "/boot/kernel/geom_label.ko" at 0xc0e851a8. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0e85258. module_register: module g_label already exists! Module g_label failed to register: 17 Calibrating clock(s) ... i8254 clock: 1193240 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 3000128259 Hz CPU: AMD Athlon(tm) II X2 250 Processor (3000.13-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x100f62 Stepping = 2 Features=0x178bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x37ff TSC: P-state invariant Cores per package: 2 Data TLB: 48 entries, fully associative Instruction TLB: 32 entries, fully associative L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L2 internal cache: 1024 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative real memory = 3489333248 (3327 MB) Physical memory chunk(s): 0x1000 - 0x0009dfff, 643072 bytes (157 pages) 0x0010 - 0x003f, 3145728 bytes (768 pages) 0x01025000 - 0xcc4cdfff, 3410661376 bytes (832681 pages) avail memory = 3409977344 (3252 MB) Table 'FACP' at 0xcffb0200 Table 'APIC' at 0xcffb0390 MADT: Found table at 0xcffb0390 MP Configuration Table version 1.1 found at 0xc00fc2b0 APIC: Using the MADT enumerator. MADT: Found CPU APIC ID 0 ACPI ID 1: enabled SMP: Added CPU 0 (AP) MADT: Found CPU APIC ID 1 ACPI ID 2: enabled SMP: Added CPU 1 (AP) MADT: Found CPU APIC ID 130 ACPI ID 3: disabled MADT: Found CPU APIC ID 131 ACPI ID 4: disabled ACPI APIC Table: <051909 APIC2009> INTR: Adding local APIC 1 as a target FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 bios32: Found BIOS32 Service Directory header at 0xc00f bios32: Entry = 0xf0010 (c00f0010) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf+0x31 pnpbios: Found PnP BIOS data at 0xc00f4ea0 pnpbios: Entry = f:664a Rev = 1.0 Other BIOS signatures found: APIC: CPU 0 has ACPI ID 1 APIC: CPU 1 has ACPI ID 2 ULE: setup cpu group 0 ULE: setup cpu 0 ULE: adding cpu 0 to group 0: cpus 1 mask 0x1 ULE: setup cpu group 1 ULE: setup cpu 1 ULE: adding cpu 1 to group 1: cpus 1 mask 0x2 ACPI: RSDP @ 0x0xf9580/0x0014 (v 0 ACPIAM) ACPI: RSDT @ 0x0xcffb/0x003C (v 1 051909 RSDT2009 0x20090519 MSFT 0x0097) ACPI: FACP @ 0x0xcffb0200/0x0084 (v 1 051909 FACP2009 0x20090519 MSFT 0x0097) ACPI Warning (tbfadt-0505): Optional field "Pm2ControlBlock" has zero address or length:0 0/1 [20070320] ACPI: DSDT @ 0x0xcffb0440/0xA5C4 (v 1 1 1000 0x INTL 0x20051117) ACPI: FACS @ 0x0xcffbe000/0x0040 ACPI: APIC @ 0x0xcffb0390/0x006C (v 1 051909 APIC2009 0x20090519 MSFT 0x0097) ACPI: MCFG @ 0x0xcffb0400/0x003C (v 1 051909 OEMMCFG 0x20090519 MSFT 0x0097) ACPI: OEMB @ 0x0xcffbe040/0x0072 (v 1 051909 OEMB2009 0x20090519 MSFT 0x0097) ACPI: HPET @ 0x0xcffbaa10/0x0038 (v 1 051909 OEMHPET 0x20090519 MSFT 0x0097) ACPI: SSDT @ 0x0xcffbaa50/0x0458 (v 1 A M I POWERNOW 0x0001 AMD 0x0001) MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec0 ioapic0: Routing external 8259A's -> intpin 0 MADT: Interrupt override: source 0, irq 2 ioapic0: Routing IRQ 0 -> intpin 2 MADT: Interrupt override: source 9, irq 9 ioapic0: intpin 9 trigger: level ioapic0: intpin 9 polarity: low ioapic0 irqs 0-23 on motherboard cpu0 BSP: ID: 0x VER: 0x80050010 LDR: 0x DFR: 0x lint0: 0x00010700 lint1: 0x0400 TPR: 0x SVR: 0x01ff timer: 0x000100ef therm: 0x0001 err: 0x0001000f pcm: 0x00010400 wlan_amrr: wlan: