Lockup at boot with nFroce SATA
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
Is the sata_nv (based on SCSI) driver supposed to work with Xen?
When I tried to boot my dom0 kernel recompiled with the sata_nv drivers enabled my kernel locks up, I guess when probing the first drive connected via S-ATA. ("Screenshot" here:
<URL:http://mjh.name/xen.lock.1.jpg>) (Kernel also says that partition tables of the two IDE drives are unknown, this is because these are currently zeroed and will be used for backup purposes at some time.)
Vanilla 2.6.9 (patched with Reiser4, but I really this would make the kernel not lock up at probing S-ATA drives...) boots fine. I'd be happy to provide more information; my .config is attached.
Hardware is Athlon64 3000, MSI K8N Neo 2 Platinum with nVidia nForce 250 Gb chipset, 2x512 MByte of RAM, 2 Samsung 120 GB drives at S-ATA 1 and 2.
Regards,
Milan
- --
Milan Holzäpfel alias jagdfalke alias jag
Antworten direkt an mich Answers directly to me gehen bitte an eine Addresse, go to an address one die man hier finden kann: can find here, please:
Kontaktinfos sowie Contact infos as well as
Öff GnuPG-Schlüssel <URL:http://con.mjh.name/> GnuPG Public Key
GnuPG Fingerabdruck 4C8A 5FAF 5D32 6125 89D1 GnuPG Fingerprint
0CE5 DB0C AF4F 6583 7966
http://www.deppenleerzeichen.de/ -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBi9Hq2wyvT2WDeWYRAgPrAJ9JwEvhv5cDhpemexLcLH32l1KpaQCfWz5A CpqSwyiv0QcTxdSQElxz0xE=
=OaSQ
-----END PGP SIGNATURE-----
Quoted 2 lines
Is the
sata_nv(based on SCSI) driver supposed to work with Xen?
I'd have hoped it would have worked, but it hasn't been tested.
Xen is less forgiving of technically buggy drivers than standard x86. Drivers that have been made to work on other architectures such as Alpha and PPC tend to have had such bugs beaten out of them, but I guess sata_nv isn't in that category.
My guess would be that there's some code in the driver that is taking liberties with treating physical and bus addresses as the same. If you can add some tracing to the driver to narrow things down we may be able to help you.
Ian
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 8 lines · On Fri, 05 Nov 2004 22:52:16 +0000 Ian Pratt <[email protected]> wrote:
Quoted 1 line
Is the
sata_nv(based on SCSI) driver supposed to work with Xen?I'd have hoped it would have worked, but it hasn't been tested.
Xen is less forgiving of technically buggy drivers than standard x86. Drivers that have been made to work on other architectures such as Alpha and PPC tend to have had such bugs beaten out of them, but I guess
sata_nvisn't in that category.
Nope, since the nForce chipset is currently only used for x86/x86_64 hardware (afaik).
Quoted 4 lines
My guess would be that there's some code in the driver that is taking liberties with treating physical and bus addresses as the same. If you can add some tracing to the driver to narrow things down we may be able to help you.
Well I have some basic knowledges of C, (at the very least enough for printing/logging some numbers :) ) but I haven't done anything with the Linux kernel or hardware related stuff so far, so can you give any generally applicable pointers where to start with what? (or point me to some pointers :) )
Quoted 1 line
Ian
thanks for your help
Milan
PS: currently I'm reading this list via gmane.org, so no real need to CC me :)
- --
Milan Holzäpfel alias jagdfalke alias jag
Antworten direkt an mich Answers directly to me gehen bitte an eine Addresse, go to an address one die man hier finden kann: can find here, please:
Kontaktinfos sowie Contact infos as well as
Öff GnuPG-Schlüssel <URL:http://con.mjh.name/> GnuPG Public Key
GnuPG Fingerabdruck 4C8A 5FAF 5D32 6125 89D1 GnuPG Fingerprint
0CE5 DB0C AF4F 6583 7966
http://www.deppenleerzeichen.de/ -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBjKMe2wyvT2WDeWYRAgZBAJ4lDjPx9Q2LIGgLImsb2QNnQnPvLQCePbBt omVmI3ozAHuNo3ShL+P09V8=
=xiMx
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
Quoted 9 lines · Ian Pratt <Ian.Pratt <at> cl.cam.ac.uk> writes:
Xen is less forgiving of technically buggy drivers than standard x86. Drivers that have been made to work on other architectures such as Alpha and PPC tend to have had such bugs beaten out of them, but I guess
sata_nvisn't in that category.My guess would be that there's some code in the driver that is taking liberties with treating physical and bus addresses as the same. If you can add some tracing to the driver to narrow things down we may be able to help you.
I have very similar problem with sata_via (SCSI) driver. Can you give me pointers to track down the problem ?
Cédric
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
Quoted 13 lines
Quoted 9 lines · Ian Pratt <Ian.Pratt <at> cl.cam.ac.uk> writes:
Xen is less forgiving of technically buggy drivers than standard x86. Drivers that have been made to work on other architectures such as Alpha and PPC tend to have had such bugs beaten out of them, but I guess
sata_nvisn't in that category.My guess would be that there's some code in the driver that is taking liberties with treating physical and bus addresses as the same. If you can add some tracing to the driver to narrow things down we may be able to help you.
Quoted 4 lines
I have very similar problem with
sata_via(SCSI) driver. Can you give me pointers to track down the problem ?Cédric
Perhaps a starting point would be to compare the start-of-day driver messages from booting native Linux compared with booting XenLinux. Also, after booting native Linux, take a look at the output of 'cat /proc/interrupts' and see what IRQ# is allocated to teh SATA controller.
-- Keir
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8