Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: IDE crashes in 1.3.70+
@ 1996-03-15 12:23 Nigel Metheringham
  0 siblings, 0 replies; 2+ messages in thread
From: Nigel Metheringham @ 1996-03-15 12:23 UTC (permalink / raw)


Last week I was having problems booting a 1.3.70 or later kernel on a 
noname with Quantum IDE disks.

We finally tracled this down to the disk drive - other quantums 
(different models) worked, and this drive worked with earlier 
kernels, but the boot problem definitely followed this drive around.

Mark Lord cam up with the goods on this:-
mlord@bnr.ca said:
} Okay, I think we got lucky here.

} I was working on something unrelated last night, and found the 
} problem that you described..

} A long time ago, the routines to access user space were redesigned, 
} and somebody updated my ioctl() routines to reflect this (likely was 
} Linus).

} As a result, my ioctls which expect a 4-byte parameter got changed to 
} expect a "long" parameter instead.  On the DEC ALPHA, a long is 8 
} bytes, not 4.

} This is the problem.  I'll fix the ioctls() to use 4-byte parameters 
} again, likely for 1.3.74. 

I have just fired up a 1.3.74 kernel and the system is quite happy 
again.  I would suggest that IDE users avoid 1.3.70 to 1.3.73 since 
you don't really know what other things could be happening to your 
disks if the ioctls are damaged!

	Nigel.

-- 
[ Nigel.Metheringham@theplanet.net   - Unix Applications Engineer ]
[ *Views expressed here are personal and not supported by PLAnet* ]
[ PLAnet Online : The White House     Tel : +44 113 2345566 x 612 ]
[ Melbourne Street, Leeds LS2 7PS UK. Fax : +44 113 2345656       ]

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: IDE crashes in 1.3.70+
@ 1996-03-15 13:53 David Mosberger-Tang
  0 siblings, 0 replies; 2+ messages in thread
From: David Mosberger-Tang @ 1996-03-15 13:53 UTC (permalink / raw)


>>>>> On Fri, 15 Mar 1996 12:23:59 +0000, Nigel Metheringham <Nigel.Metheringham@theplanet.net> said:

  Nigel> Mark Lord cam up with the goods on this:- mlord@bnr.ca said:

  Nigel> } As a result, my ioctls which expect a 4-byte parameter got
  Nigel> } changed to } expect a "long" parameter instead.  On the DEC
  Nigel> } ALPHA, a long is 8 } bytes, not 4.

  Nigel> } This is the problem.  I'll fix the ioctls() to use 4-byte
  Nigel> } parameters } again, likely for 1.3.74.

  Nigel> I have just fired up a 1.3.74 kernel and the system is quite
  Nigel> happy again.  I would suggest that IDE users avoid 1.3.70 to
  Nigel> 1.3.73 since you don't really know what other things could be
  Nigel> happening to your disks if the ioctls are damaged!

I don't follow this.  As far as I can tell, there is no ioctl related
patch to ide.c in patch 1.3.74 (but then, I haven't had my coffee
yet...).  Do you know why the problem showed with the Quantum drive
but not others?  I just would like to know so we can avoid this
problem in the future.

	--david

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-03-15 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-15 12:23 IDE crashes in 1.3.70+ Nigel Metheringham
  -- strict thread matches above, loose matches on Subject: below --
1996-03-15 13:53 David Mosberger-Tang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox