disks not recognized by new 53c700/53c710 driver
(was [parisc-linux-cvs] linux rhirst)
Reply-To:
In-Reply-To: <[email protected]>
Hello,
I just gave 2.4.9
Quoted 28 lines · Richard Hirst
CVSROOT:
/home/cvs/parisc
Module name: linux
Changes by: rhirst 01/10/08 15:46:04Modified files:
. :Makefile
drivers/scsi: Config.inMakefile
arch/parisc/debian-configs: 32 64 default
Added files:drivers/scsi : 53c700.c 53c700.h 53c700.scr NCR_D700.c NCR_D700.h README.53c700 lasi700.c lasi700.hLog message:
New driver from James Bottomley for 53c700 and 53c710. Much improved oversim700.c, and already mostly in Linus' tree. Major differences are support for sync working where the chip supports it, tagged commands, and disconnect/reselect works (sim700 had problems on 53c700, requiring that people booted with sim700=nodisc:0xff). I've left the old driver in the source for now, just commented out its Config question. Will remove it completely if there are no problems. Tested on 712, 715/50, 715/75, B180, C360 (32 and 64 bit kernels)._______________________________________________
parisc-linux-cvs mailing list
[email protected]
http://lists.parisc-linux.org/cgi-bin/mailman/listinfo/parisc-linux-cvs
A message that is not in the archive (sent off-list or not yet received): [email protected]
[parisc-linux] disks not recognized by new 53c700/53c710 driver (was [parisc-linux-cvs] linux rhirst)
Terribly sorry about that message. mutt is acting up. Intended message:
Hello all,
I just gave 2.4.9-pa53 a spin on my 720/50, wanting to see if perhaps some random phenomena will allow me to complete the installation. The Debian installer informed me that I had no disks connected, so I went back and examined the bootup messages. The relevant portions:
...
Searching for Potential Boot Devices.
To terminate search, press and hold the ESCAPE key.
Device Selection Device Path Device Type
----------------------------------------------------------------------------
P0 scsi.6.0 MICROP 1528-15MD1066702 P1 lan.0000e8-e5fdeb.0.0 dogbert
...
Linux version 2.4.9-pa53 ([email protected]) (gcc version 3.0.2 20010829 (prerelease)) #2 Sat Oct 13 15:42:01 SAST 2001
...
CPUID vers 0 rev 0
model 9000/720
...
Kernel command line: HOME=/ root=/dev/ram console=ttyS0 TERM=vt102 ... ( don't know if this was there before, but anyway: )
STI byte mode ROM at f8000000, hpa=f8000000
STI byte mode ROM, id 26d1488c-40a00499, conforms to spec rev. 8.02 STI device: HPA1924A
...
Found i82596 at 0xf0826000, IRQ 87
82596.c: MAC of HP700 LAN read from EEPROM
eth0: Couldn't get consistent shared memory
eth0: 82596 at 0xf0826000, 08 00 09 25 4B E1 IRQ 87.
82596.c $Revision: 1.23 $
SCSI subsystem driver Revision: 1.00sticonsole_init: searching for STI ROMs
Console: switching to colour STI console 160x64
...
No disks?
In my .config (obtained with make oldconfig) I have:
CONFIG_SCSI=yCONFIG_BLK_DEV_SD=yCONFIG_SD_EXTRA_DEVS=40CONFIG_CHR_DEV_ST=yCONFIG_SR_EXTRA_DEVS=2CONFIG_CHR_DEV_SG=yCONFIG_SCSI_ZALON=yCONFIG_SCSI_SYM53C8XX=yCONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32CONFIG_SCSI_NCR53C8XX_SYNC=20
Did I miss anything or is there something amiss with the driver? :-)
Regards,
Albert
Quoted 21 lines · Richard Hirst
CVSROOT:
/home/cvs/parisc
Module name: linux
Changes by: rhirst 01/10/08 15:46:04Modified files:
. :Makefile
drivers/scsi: Config.inMakefile
arch/parisc/debian-configs: 32 64 default
Added files:drivers/scsi : 53c700.c 53c700.h 53c700.scr NCR_D700.c NCR_D700.h README.53c700 lasi700.c lasi700.hLog message:
New driver from James Bottomley for 53c700 and 53c710. Much improved oversim700.c, and already mostly in Linus' tree. Major differences are support for sync working where the chip supports it, tagged commands, and disconnect/reselect works (sim700 had problems on 53c700, requiring that people booted with sim700=nodisc:0xff). I've left the old driver in the source for now, just commented out its Config question. Will remove it completely if there are no problems. Tested on 712, 715/50, 715/75, B180, C360 (32 and 64 bit kernels).
Re: [parisc-linux] disks not recognized by new 53c700/53c710 driver (was [parisc-linux-cvs] linux rhirst)
Quoted 16 lines
No disks?
In my .config (obtained with make oldconfig) I have:
CONFIG_SCSI=yCONFIG_BLK_DEV_SD=yCONFIG_SD_EXTRA_DEVS=40CONFIG_CHR_DEV_ST=yCONFIG_SR_EXTRA_DEVS=2CONFIG_CHR_DEV_SG=yCONFIG_SCSI_ZALON=yCONFIG_SCSI_SYM53C8XX=yCONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32CONFIG_SCSI_NCR53C8XX_SYNC=20
Quoted 1 line
Did I miss anything or is there something amiss with the driver? :-)
I think you missed:
CONFIG_SCSI_LASI700=yCONFIG_53C700_MEM_MAPPED=yCONFIG_53C700_LE_ON_BE=yCONFIG_53C700_USE_CONSISTENT=y
You should prefer "make menuconfig". That way you won't miss such things.
Greetings,
Helge
Re: [parisc-linux] disks not recognized by new 53c700/53c710 driver (was [parisc-linux-cvs] linux rhirst)
Quoted 2 lines · Helge Deller
You should prefer "make menuconfig". That way you won't miss such things.
Um? make oldconfig only prompts you for new options. it's harder to miss things with oldconfig than menuconfig, IMO.
Signature · 1 line
Revolutions do not require corporate support.
Re: [parisc-linux] disks not recognized by new 53c700/53c710 driver (was [parisc-linux-cvs] linux rhirst)
Quoted 6 lines · Matthew Wilcox
Quoted 2 lines · Helge Deller
You should prefer "make menuconfig". That way you won't miss such things.
Um? make oldconfig only prompts you for new options. it's harder to miss things with oldconfig than menuconfig, IMO.
Hi Matthew,
of course you're right. But if I have a lots of new options I just too often press only lots of "n" <return>s and miss the new parts. I know that is not the way it should be done, but as it seems it's not only me who do it this way....
Helge
Re: [parisc-linux] disks not recognized by new 53c700/53c710 driver (was [parisc-linux-cvs] linux rhirst)
In reply to Matthew WilcoxHello,
My apologies -- I misunderstood the inner workings of make oldconfig. I see now that you are right, as always. :-)
Cheerio,
Albert
Quoted 6 lines · Matthew Wilcox
Quoted 2 lines · Helge Deller
You should prefer "make menuconfig". That way you won't miss such things.
Um? make oldconfig only prompts you for new options. it's harder to miss things with oldconfig than menuconfig, IMO.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [parisc-linux] disks not recognized by new 53c700/53c710 driver (was [parisc-linux-cvs] linux rhirst)
Hello,
Are you saying disabling the STI console will make the SCSI driver work? I just mentioned the STI console because I seem to recall Matthew Wilcox checked in some patches for it since I last tested...?
So, do you still want me to test?
Cheerio,
Albert
Quoted 8 lines · Thomas Marteau
Hi Albert,
Could try a kernel where you do not select STI console and Generic STI
frame buffer device support in Console drivers section. To see if it does the same thing. If it works I think it could be useful to post to the list the solution b/c I think there is a bug somewhere!Thomas.
Re: [parisc-linux] disks not recognized by new 53c700/53c710 driver (was [parisc-linux-cvs] linux rhirst)
Hi Albert,
No, I thought that without sti support you could have the prompt and
debug. Anyway, Helge can be also true. Now, the HP Lasi driver is not in default config. Be sure to add it on your kernel!
In make menuconfig, it is SCSI support->SCSI low-level drivers->HP LASI SCSI support for 53c700
Thomas.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [parisc-linux] disks not recognized by new 53c700/53c710 driver (was [parisc-linux-cvs] linux rhirst)
Hello,
Okay, I'll check this out and report back. Someone should probably fix up make oldconfig so that it produces a working config again?
Cheerio,
Albert
Quoted 31 lines · Helge Deller
Quoted 16 lines
No disks?
In my .config (obtained with make oldconfig) I have:
CONFIG_SCSI=yCONFIG_BLK_DEV_SD=yCONFIG_SD_EXTRA_DEVS=40CONFIG_CHR_DEV_ST=yCONFIG_SR_EXTRA_DEVS=2CONFIG_CHR_DEV_SG=yCONFIG_SCSI_ZALON=yCONFIG_SCSI_SYM53C8XX=yCONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32CONFIG_SCSI_NCR53C8XX_SYNC=20Quoted 1 line
Did I miss anything or is there something amiss with the driver? :-)
I think you missed:
CONFIG_SCSI_LASI700=yCONFIG_53C700_MEM_MAPPED=yCONFIG_53C700_LE_ON_BE=yCONFIG_53C700_USE_CONSISTENT=yYou should prefer "make menuconfig". That way you won't miss such things.
Greetings,
Helge
Re: [parisc-linux] disks not recognized by new 53c700/53c710 driver (was [parisc-linux-cvs] linux rhirst)
Hello,
Okay, the make menuconfig LASI thingy did the trick. I now get:
SCSI subsystem driver Revision: 1.00
53c700: consistent memory allocation failed 53c700: Version 2.6 By [email protected]
scsi0: 53c700 rev 0
scsi0 : LASI SCSI 53c700
Vendor: MICROP Model: 1528-15MD1066702 Rev: DD24
Type: Direct-Access ANSI SCSI revision: 01 CCS
Attached scsi disk sda at scsi0, channel 0, id 6, lun 0 SCSI device sda: 2621688 512-byte hdwr sectors (1342 MB) Partition check:
sda: sda1 sda2 sda3
Is it normal for the consitent memory allocation to fail as indicated above? What does this mean?
Regards,
Albert
Re: [parisc-linux] disks not recognized by new 53c700/53c710 driver (was [parisc-linux-cvs] linux rhirst)
Quoted 5 lines
SCSI subsystem driver Revision: 1.00
53c700: consistent memory allocation failedIs it normal for the consitent memory allocation to fail as indicated above? What does this mean?
Hi Albert.
Yes, it's normal that it fails that way on your machine. It just says, that your machine/CPU needs a "cache-writeback" command by the cpu before any other chips may access that area of memory directly via dma.
In other words, your machine isn't cache-coherent and this will be handled automatically by the driver.
Btw, harmony (sound), lasi_82596 (LAN) and other drivers have the same problem, but mostly don't inform you about that.
Greetings,
Helge