Problems implementing a software RAID driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I am trying to implement a software RAID driver. However, I am having
problems sending a simple bio request to the physical device.

I am using open_bdev_excl and submit_bio to accomplish this[1]. However,
if I use submit_bio, an oops occurs. Does anyone have a clue of what the
problem could be?

I am testing the kernel module under VMware and I have added a disk (and
partitioned it) for my tests:

(output of fdisk -l)
---
Disk /dev/hda: 6442 MB, 6442450944 bytes
255 heads, 63 sectors/track, 783 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1          16      128488+  82  Linux swap /
Solaris
/dev/hda2   *          17         783     6160927+  83  Linux

Disk /dev/hdb: 214 MB, 214748160 bytes
16 heads, 63 sectors/track, 416 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1         208      104800+  83  Linux
/dev/hdb2             209         416      104832   83  Linux
---

Razvan

[1] http://rafb.net/p/Re5klW51.html


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux