[OpenIndiana-discuss] Solaris way of User space device driver (UIO)
Hi dear, I now writing cheap driver that useless and helps nobody. Fighting, but no hopefully, Especially debugging. I think it is easy way to Postponement kernel debug. Is there any Solaris implementation like LINUX-UIO >https://www.slideshare.net/chrissimmonds/quick-and-easy-device-drivers-for-embedded-linux-using-uio Regards, Ken,IDE ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Where in the disk the parity stores, RAID-Z, RAIDZ2
Dear Peter Thanks a lot. Ken, Ide - 元のメッセージ - From: "Peter Tribble" 宛先: "Discussion list for OpenIndiana" 送信済み: 2018年6月6日, 水曜日 午後 11:41:23 件名: Re: [OpenIndiana-discuss] Where in the disk the parity stores, RAID-Z, RAIDZ2 Hi, I want to write driver to use in ZFS environment. > Could anybody told me The parity bits (RAIDZ,RAIDZ2) places. > Does the FS'es has own its region or continuously? > It's distributed, and not constant width. There's a helpful picture to represent the layout of data and parity in this article: https://www.delphix.com/blog/delphix-engineering/zfs-raidz-stripe-width-or-how-i-learned-stop-worrying-and-love-raidz > And when I get sources and build environment in my sandbox, > I will start try from /dev/null, Someone told me it locates? > One of the simplest recent driver additions was /dev/full, which might be worth taking a look at (and it shows that most of the work wasn't actually in driver code): https://github.com/illumos/illumos-gate/commit/b1c760bd3306ff30af69800801f30f3dd4b6394e -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] Where in the disk the parity stores, RAID-Z, RAIDZ2
Hi Dear, I want to write driver to use in ZFS environment. Could anybody told me The parity bits (RAIDZ,RAIDZ2) places. Does the FS'es has own its region or continuously? And when I get sources and build environment in my sandbox, I will start try from /dev/null, Someone told me it locates? Best regards, Ken, Ide. ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] how to write device drivers
Dear Larcher, I was becoming motivated. but i am fool enough to ask you many time in the future. first, first I say very great regard to you. Thank you. Ken, - 元のメッセージ - From: "Aurélien Larcher" 宛先: "Discussion list for OpenIndiana" 送信済み: 2018年6月2日, 土曜日 午前 12:20:04 件名: Re: [OpenIndiana-discuss] how to write device drivers Hi Ken, Welcome to the mailing list! You can refer to the illumos book "Writing Device Drivers": https://illumos.org/books/wdd/preface.html Specifically: https://illumos.org/books/wdd/character-21002.html#character-21002 https://illumos.org/books/wdd/block-34861.html#block-34861 Kind regards, Aurélien On Fri, Jun 1, 2018 at 5:04 PM, wrote: > Hi, > > I am application engineer, but I want to write device driver > that run in user process. > > Character and Block device I want to write, > But I do not know where am I start. > > chardev? very easy way , look /dev/null you lough, > but I do not know where it place. > > and I do not know the magic number > that how can I decide dev_no, > more, the rule of /devices/. > > I order my new machine, the sandbox > please tell me how to write drivers. > > > Best regards, > ken. > > ___ > openindiana-discuss mailing list > openindiana-discuss@openindiana.org > https://openindiana.org/mailman/listinfo/openindiana-discuss > -- --- Praise the Caffeine embeddings ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] how to write device drivers
Hi, I am application engineer, but I want to write device driver that run in user process. Character and Block device I want to write, But I do not know where am I start. chardev? very easy way , look /dev/null you lough, but I do not know where it place. and I do not know the magic number that how can I decide dev_no, more, the rule of /devices/. I order my new machine, the sandbox please tell me how to write drivers. Best regards, ken. ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss