Re: TESTERS WANTED for ATAng preview 1

2003-08-14 Thread Soeren Schmidt
It seems Gavin Atkinson wrote:
 On Wed, 13 Aug 2003, Soeren Schmidt wrote:
  It seems Gavin Atkinson wrote:
   With the new ATA code, the boot now hangs. I now get on a verbose bootup:
   ata1-master: FAILURE - ATAPI_IDENTIFY status=1ERROR error=0
 
  Okies, what if you make that CDROM a slave ?
 
 That seems to work fine:
 
 ata1: spurious interrupt - status=0x7f error=0x7f reason=0x7f
 ad0: 19881MB Maxtor 6E020L0 [40395/16/63] at ata0-master UDMA100
 acd0: CDROM SAMSUNG CD-ROM SC-152A at ata1-slave PIO4

OK, your CDROM doesn't like to be a sole master it appears...

-Søren
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TESTERS WANTED for ATAng preview 1

2003-08-14 Thread David Leimbach
I am rather naive on the topic but don't many drives have a single 
drive jumper
which works better than a master with no slave at times?
On Wednesday, August 13, 2003, at 5:43 AM, Gavin Atkinson wrote:

On Wed, 13 Aug 2003, Soeren Schmidt wrote:
It seems Gavin Atkinson wrote:
ata1: spurious interrupt - status=0x7f error=0x7f reason=0x7f
ad0: 19881MB Maxtor 6E020L0 [40395/16/63] at ata0-master UDMA100
acd0: CDROM SAMSUNG CD-ROM SC-152A at ata1-slave PIO4
OK, your CDROM doesn't like to be a sole master it appears...
I hate it when people respond with this, but I'm going to join them and
say It works under Windows... Also, under the new code, this problem
prevents the booting of the machine, but under the old code the machine
carries on booting after giving up on the drive.
Is it possible for this failure mode to not prevent the booting of the
machine at least?
Gavin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TESTERS WANTED for ATAng preview 1

2003-08-14 Thread Gavin Atkinson
On Fri, 8 Aug 2003, Soeren Schmidt wrote:
 ftp://ftp.deepcore.dk/pub/ATAng
 Before these rather radical changes to the ATA driver hits the
 tree, here is the opportunity to test them out, give usefull
 feedback and for the depending subsytems to adjust to the new
 ways of things (burncd  atapicam are good examples).

Hi,

I'm using ATAng-20030809-1.tgz on top-of-tree current on hardware detected
with the old ATA code as:

atapci0: Intel ICH5 UDMA100 controller port 0xffa0-0xffaf,0-0x3,0-0x7,0-0x3,0-0x7 at 
device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
atapci1: Intel ICH5 SATA150 controller port 
0xdc00-0xdc0f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 irq 10 at device 
31.2 on pci0
ata2: at 0xec00 on atapci1
ata3: at 0xe400 on atapci1
ata1-master: timeout waiting for interrupt
ata1-master: ATAPI identify failed
ad0: 19881MB Maxtor 6E020L0 [40395/16/63] at ata0-master UDMA100

(ata1-master is a CD-ROM drive, and freebsd has been unable to detect it
since I installed FreeBSD onto this machine about two weeks ago).

With the new ATA code, the boot now hangs. I now get on a verbose bootup:

ata1-master: FAILURE - ATAPI_IDENTIFY timeout
ata1: resetting devices ..
ata1: pre reset mask=03 ostat0=58 ostat2=00
ata1-master: ATAPI 14 EB
ata1-slave: ATAPI 7F 7F
ata1: after reset mask=03 stat0=10 stat1=00
ata1: devices=04
ata1-master: FAILURE - ATAPI_IDENTIFY status=1ERROR error=0

hang here

db tr 0
mi_switch(...)
msleep(...)
ata_queue_request(...)
ata_getparam(...)
ata_identify_devices(...)
ata_boot_attach(...)

Unplugging the CD-ROM drive allows the machine to boot normally.

Once booted, I keep seeing these messages relating to the S-ATA controller
(which has no devices plugged into it):

ata2: spurious interrupt - status=0x7f error=0xff reason=0xff
ata3: spurious interrupt - status=0x7f error=0xff reason=0xff

These are also new with the new ATA code.

Hope that all helps, I can test any patches necessary.

Gavin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TESTERS WANTED for ATAng preview 1

2003-08-14 Thread Jason Dambrosio
On Fri, Aug 08, 2003 at 09:55:11PM +0200, Soeren Schmidt wrote:
 
 The first preview release of ATAng is now available on:
 
 ftp://ftp.deepcore.dk/pub/ATAng

I cvsup'd to HEAD and applied the conf-patch and put in your
new ATA source, but when I recompiled my kernel and rebooted, the
server just locked up with the following dmesg:

Console: serial port
BIOS drive C: is disk0
BIOS 639kB/523264kB available memory

FreeBSD/i386 bootstrap loader, Revision 1.1
([EMAIL PROTECTED], Mon Jun  9 08:51:01 HST 2003)
Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=0x23b4b4 data=0x2700c+0x4cfd0 syms=[0x4+0x2f0a0+0x4+0x3a9c7]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Copyright (c) 1992-2003 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 5.1-CURRENT #1: Fri Aug  8 13:41:50 HST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LEET
Preloaded elf kernel /boot/kernel/kernel at 0xc041b000.
Timecounter i8254  frequency 1193182 Hz
CPU: AMD Athlon(tm) XP 2100+ (1733.41-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x681  Stepping = 1
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc040AMIE,DSP,3DNow!
real memory  = 536870912 (512 MB)
avail memory = 517066752 (493 MB)
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 14 entries at 0xc00f8030
pcib0: Host to PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
pci_cfgintr: 0:13 INTA BIOS irq 11
pci_cfgintr: 0:15 INTA BIOS irq 10
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
atapci0: Promise PDC20376 SATA150 controller port 
0xe400-0xe47f,0xe800-0xe80f,0xec00-0xec3f mem 
0xdffa-0xdffb,0xdffdf000-0xdffd irq 11 at device 13.0 on pci0
ata2: at 0xdffdf000 on atapci0
ata3: at 0xdffdf000 on atapci0
ata4: at 0xdffdf000 on atapci0
bge0: Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002 mem 0xdffc-0xdffc 
irq 10 at device 15.0 on pci0
bge0: Ethernet address: 00:10:dc:d6:05:a2
miibus0: MII bus on bge0
brgphy0: BCM5703 10/100/1000baseTX PHY on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, 
auto
isab0: PCI-ISA bridge at device 17.0 on pci0
isa0: ISA bus on isab0
orm0: Option ROM at iomem 0xc8000-0xc on isa0
ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0
ata1 at port 0x376,0x170-0x177 irq 15 on isa0
atkbdc0: Keyboard cller (i8042) at port 0x64,0x60 on isa0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
unknown: PNP0c02 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
RTC BIOS diagnostic error 20config_unit
Timecounter TSC  frequency 1733405338 Hz
Timecounters tick every 10.000 msec
IPv6 packet filtering initialized, default to accept, unlimited logging
DUMMYNET initialized (011031)
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to accept, 
logging unlimited
IPsec: Initialized Security Association Processing.
ad6: 114473MB WDC WD1200JB-00CRA1 [232581/16/63] at ata3-master UDMA100

(locked up at that point)

Thanks,

Jason
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TESTERS WANTED for ATAng preview 1

2003-08-14 Thread Soeren Schmidt
It seems Jason Dambrosio wrote:
 On Fri, Aug 08, 2003 at 09:55:11PM +0200, Soeren Schmidt wrote:
  
  The first preview release of ATAng is now available on:
  
  ftp://ftp.deepcore.dk/pub/ATAng
 
 I cvsup'd to HEAD and applied the conf-patch and put in your
 new ATA source, but when I recompiled my kernel and rebooted, the
 server just locked up with the following dmesg:

 atapci0: Promise PDC20376 SATA150 controller port 
 0xe400-0xe47f,0xe800-0xe80f,0xec00-0xec3f mem 
 0xdffa-0xdffb,0xdffdf000-0xdffd irq 11 at device 13.0 on pci0
 ata2: at 0xdffdf000 on atapci0
 ata3: at 0xdffdf000 on atapci0
 ata4: at 0xdffdf000 on atapci0

OK, Try the new .tgz I just uploaded, I'm pretty sure that solves the
problem for you..

-Søren
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TESTERS WANTED for ATAng preview 1

2003-08-14 Thread Eirik Oeverby
Hi,

I've just compiled ATAng into my kernel, and I'm currently running it -
but I had to rip out my CD-ROM to make it work. I wasn't able to grab
the exact wording of the error, but it was something along the lines of
a failure to identify ata1-slave - which I suppose is my CD-ROM player.
It then retries and gets an error (error=0), then freezes.

This is a IBM ThinkPad T21, so taking out the CD-ROM is a trivial task,
but at some point I'm gonna need it again (it's actually a DVD/CD-RW
combodrive)...

Otherwise the driver seems to work with the 60gb IBM drive I have in my
laptop. No funny behaviour so far. ;)

Best regards,
/Eirik


pgp0.pgp
Description: PGP signature


Re: TESTERS WANTED for ATAng preview 1

2003-08-14 Thread Gavin Atkinson
On Wed, 13 Aug 2003, Soeren Schmidt wrote:
 It seems Gavin Atkinson wrote:
  With the new ATA code, the boot now hangs. I now get on a verbose bootup:
  ata1-master: FAILURE - ATAPI_IDENTIFY status=1ERROR error=0

 Okies, what if you make that CDROM a slave ?

That seems to work fine:

ata1: spurious interrupt - status=0x7f error=0x7f reason=0x7f
ad0: 19881MB Maxtor 6E020L0 [40395/16/63] at ata0-master UDMA100
acd0: CDROM SAMSUNG CD-ROM SC-152A at ata1-slave PIO4

Gavin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TESTERS WANTED for ATAng preview 1

2003-08-14 Thread Soeren Schmidt
It seems Gavin Atkinson wrote:
 I'm using ATAng-20030809-1.tgz on top-of-tree current on hardware detected
 with the old ATA code as:
 
 atapci0: Intel ICH5 UDMA100 controller port 0xffa0-0xffaf,0-0x3,0-0x7,0-0x3,0-0x7 
 at device 31.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 atapci1: Intel ICH5 SATA150 controller port 
 0xdc00-0xdc0f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 irq 10 at 
 device 31.2 on pci0
 ata2: at 0xec00 on atapci1
 ata3: at 0xe400 on atapci1
 ata1-master: timeout waiting for interrupt
 ata1-master: ATAPI identify failed
 ad0: 19881MB Maxtor 6E020L0 [40395/16/63] at ata0-master UDMA100
 
 (ata1-master is a CD-ROM drive, and freebsd has been unable to detect it
 since I installed FreeBSD onto this machine about two weeks ago).
 
 With the new ATA code, the boot now hangs. I now get on a verbose bootup:
 ata1-master: FAILURE - ATAPI_IDENTIFY status=1ERROR error=0
 

Okies, what if you make that CDROM a slave ?


-Søren
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TESTERS WANTED for ATAng preview 1

2003-08-14 Thread Doug White
On Wed, 13 Aug 2003, Soeren Schmidt wrote:

 It seems Gavin Atkinson wrote:
  On Wed, 13 Aug 2003, Soeren Schmidt wrote:
   It seems Gavin Atkinson wrote:
ata1: spurious interrupt - status=0x7f error=0x7f reason=0x7f
ad0: 19881MB Maxtor 6E020L0 [40395/16/63] at ata0-master UDMA100
acd0: CDROM SAMSUNG CD-ROM SC-152A at ata1-slave PIO4
  
   OK, your CDROM doesn't like to be a sole master it appears...
 
  I hate it when people respond with this, but I'm going to join them and
  say It works under Windows... Also, under the new code, this problem
  prevents the booting of the machine, but under the old code the machine
  carries on booting after giving up on the drive.
 
  Is it possible for this failure mode to not prevent the booting of the
  machine at least?

 Of cause, I'm looking at that right now actually, but all my ATAPI
 drives seems to work unfortunately :(

I found a Pioneer drive that is equally picky. I replaced it with a Sony
that is happy as a clam.  YMMV? :)

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TESTERS WANTED for ATAng preview 1

2003-08-14 Thread Julian Elischer


On Wed, 13 Aug 2003, Soeren Schmidt wrote:

 It seems Gavin Atkinson wrote:
  On Wed, 13 Aug 2003, Soeren Schmidt wrote:
   It seems Gavin Atkinson wrote:
With the new ATA code, the boot now hangs. I now get on a verbose bootup:
ata1-master: FAILURE - ATAPI_IDENTIFY status=1ERROR error=0
  
   Okies, what if you make that CDROM a slave ?
  
  That seems to work fine:
  
  ata1: spurious interrupt - status=0x7f error=0x7f reason=0x7f
  ad0: 19881MB Maxtor 6E020L0 [40395/16/63] at ata0-master UDMA100
  acd0: CDROM SAMSUNG CD-ROM SC-152A at ata1-slave PIO4
 
 OK, your CDROM doesn't like to be a sole master it appears...

I've seen this before, but the big question is..
if it doesn;t like it how come it works in the old code and under
Windblows?


 
 -Søren
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TESTERS WANTED for ATAng preview 1

2003-08-14 Thread Gavin Atkinson
On Wed, 13 Aug 2003, Soeren Schmidt wrote:
 It seems Gavin Atkinson wrote:
  ata1: spurious interrupt - status=0x7f error=0x7f reason=0x7f
  ad0: 19881MB Maxtor 6E020L0 [40395/16/63] at ata0-master UDMA100
  acd0: CDROM SAMSUNG CD-ROM SC-152A at ata1-slave PIO4

 OK, your CDROM doesn't like to be a sole master it appears...

I hate it when people respond with this, but I'm going to join them and
say It works under Windows... Also, under the new code, this problem
prevents the booting of the machine, but under the old code the machine
carries on booting after giving up on the drive.

Is it possible for this failure mode to not prevent the booting of the
machine at least?

Gavin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TESTERS WANTED for ATAng preview 1

2003-08-14 Thread Soeren Schmidt
It seems Gavin Atkinson wrote:
 On Wed, 13 Aug 2003, Soeren Schmidt wrote:
  It seems Gavin Atkinson wrote:
   ata1: spurious interrupt - status=0x7f error=0x7f reason=0x7f
   ad0: 19881MB Maxtor 6E020L0 [40395/16/63] at ata0-master UDMA100
   acd0: CDROM SAMSUNG CD-ROM SC-152A at ata1-slave PIO4
 
  OK, your CDROM doesn't like to be a sole master it appears...
 
 I hate it when people respond with this, but I'm going to join them and
 say It works under Windows... Also, under the new code, this problem
 prevents the booting of the machine, but under the old code the machine
 carries on booting after giving up on the drive.
 
 Is it possible for this failure mode to not prevent the booting of the
 machine at least?

Of cause, I'm looking at that right now actually, but all my ATAPI
drives seems to work unfortunately :(

-Søren
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]