Subject: Panic while trying to mount DOS partition
To: None <port-i386@NetBSD.ORG>
From: Jeff Thieleke <thieleke@lust.isca.uiowa.edu>
List: port-i386
Date: 04/26/1996 03:15:25
I am trying to set up my NetBSD 1.1B system up so I can mount my DOS 
partitions, but every time I try, I get a panic, specifically:
  panic:  allocbuf:  buffer larger than MAXBSIZE requested

I have 2 drives, an EIDE drive devoted to Windoze 95, and a SCSI disk for 
NetBSD.  Here is my fdisk output:

  ******* Working on device /dev/rwd0d *******
  parameters extracted from in-core disklabel are:
  cylinders=2112 heads=16 sectors/track=63 (1008 sectors/cylinder)
 
  parameters to be used for BIOS calculations are:
  cylinders=528 heads=64 sectors/track=63 (4032 sectors/cylinder)

  Warning: BIOS sector numbering starts with sector 1
  Information from DOS bootblock is:
  The data for partition 0 is:
  sysid 6 (Primary 'big' DOS (> 32MB))
      start 63, size 1044225 (509 MB), flag 80
          beg: cylinder    0, head   1, sector  1  
          end: cylinder  258, head  63, sector 63
  The data for partition 1 is:
  sysid 5 (Extended DOS)
      start 1044288, size 1080576 (527 MB), flag 0
          beg: cylinder  259, head   0, sector  1
          end: cylinder  526, head  63, sector 63
  The data for partition 2 is:
  <UNUSED>
  The data for partition 3 is:
  <UNUSED>


and my edited disklabel:

  6 partitions: 
  #        size   offset    fstype   [fsize bsize   cpg]
    a:    40320  1064448    4.2BSD     1024  8192    16   # (Cyl. 1056 - 1095)
    b:   129024  1104768      swap                        # (Cyl. 1096 - 1223)
    c:  1064448  1064448    unused        0     0         # (Cyl. 1056 - 2111)
    d:  2128896        0    unused        0     0         # (Cyl.    0 - 2111)
    e:   895104  1233792    4.2BSD     1024  8192    16   # (Cyl. 1224 - 2111)
    f:  1044225       63     MSDOS                        # (Cyl.    0*- 1035*)

  disklabel: warning, DOS partition table with no valid NetBSD partition
   
  ^^^  (should I be worried about the disklabel warning?)  


Any ideas how to get this working?  There is obviously something wrong 
with my wd0f size, perhaps related to the Primary & Extended DOS 
partitions.  I tried a size of 2128896, but disklabel wouldn't allow that 
(it extended past the end of the drive, probably due to the 63 offset).  



Also, on a totally unrelated note, is there any way to adjust the keyboard 
repeat rate, for the pccons console driver and under X?  I looked at 
/sys/arch/i386/isa/pccons.c, and the only thing that I noticed was 
'typematic_rate', but there were no notes and no idea of the units.


Thanks!



Jeff Thieleke