Kernel panic!

Jason jkenner@mindspring.com
Sat, 07 Oct 2000 03:03:13 -0700


Bill Warner wrote:
> 
> also check /proc/partitions to see what might be showing up there.
> 
> Bill Warner
> 
> > Am 05. Oct, 2000 schwäzte John W so:
> >
> > > Tried fdisk /dev/hda and response was could not open /dev/hda. I tried
> > > cfdisk and the command was not available. I don't want to reinstall
> > > but if I have it is no big deal. I don't understand why hdparm had
> > > such adverse effects on RH7.0 when it did what I wanted in 6.2.
> >
> > I'd suggest looking for an hdparm mailing list and searching it. Maybe the
> > same with an ext2 list. It's a great opportunity to learn a lot about
> > filesystems, ide disk drives and data recovery ;-).

If the error he's getting is what I think it is, the fs may as well be
screwed, it'd take a massive effort to straighten it out. The problem
seems to be bytes getting juxtapositioned, and you can see what a mess
hdparam may make if its doing this already... It looks almost like
being in 16-bit mode causes the thing to make screwups ala "middle
endian" byte order.

sugar:~# /sbin/hdparm -i /dev/hda

/dev/hda:

 Model=Seagate Technology 1275MB - ST31276A, FwRev=1.37,
SerialNo=FNGRLSA
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=2482/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=0(?), BuffSize=0kB, MaxMultSect=16, MultSect=off
 DblWordIO=no, maxPIO=1(medium), DMA=yes, maxDMA=2(fast)
 CurCHS=2482/16/63, CurSects=2502308, LBA=yes, LBAsects=2502308
 tDMA={min:120,rec:120}, DMA modes: *mword0 mword1 mword2 
 IORDY=on/off, tPIO={min:383,w/IORDY:120}, PIO modes: mode3 mode4 

sugar:~# /sbin/hdparm -I /dev/hda

/dev/hda:

 Model=eSgata eeThconolyg1 72M5 B -TS1372A6    , FwRev=.173    ,
SerialNo=        
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=2482/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=0(?), BuffSize=0kB, MaxMultSect=16, MultSect=off
 DblWordIO=no, maxPIO=1(medium), DMA=yes, maxDMA=2(fast)
 CurCHS=2482/16/63, CurSects=2502308, LBA=yes, LBAsects=2502308
 tDMA={min:120,rec:120}, DMA modes: *mword0 mword1 mword2 
 IORDY=on/off, tPIO={min:383,w/IORDY:120}, PIO modes: mode3 mode4 


--

Just for kicks, you can set the number of cylinders to ONE on your
hard disk, if only Linux partitions reside on it. Since Linux uses its
own drivers for this, and LILO resides on the first track, it actually
works. Great for confusing people (Huh? You have a 504KB hard disk and
it holds all that??)

-- 
jkenner @ mindspring . com__
I Support Linux:           _> _  _ |_  _  _     _|
Working Together To       <__(_||_)| )| `(_|(_)(_|
To Build A Better Future.       |                   <s>