Bug 181704 - [geom] ggatec crash the system when I write something into a device created by it under "ro" mode
Summary: [geom] ggatec crash the system when I write something into a device created b...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-geom (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-31 13:40 UTC by Kevin
Modified: 2021-07-04 06:44 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin 2013-08-31 13:40:00 UTC
When I tested the command seen on the book, system crashed and reboot automatically. After several minutes, the screen show "mountroot>".
Then I power off the machine, and start it again, SU+J recovering it.

How-To-Repeat: Tested in VirtualBox
VM A: 
IP:192.168.1.8

file:/etc/gg.exports:
192.168.1.10     RW     /dev/ada1

command:newfs -U /dev/ada1
command:ggated

VM B: 
IP:192.168.1.10
command:ggatec create -o ro 192.168.1.8 /dev/ada1
output:ggate0
command:mount /dev/ggate0 /mnt
command:touch /mnt/abcde
command:umount /mnt

CRASH!(VM B)
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2013-08-31 14:53:41 UTC
Responsible Changed
From-To: freebsd-amd64->freebsd-geom

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2018-05-28 19:45:14 UTC
batch change:

For bugs that match the following
-  Status Is In progress 
AND
- Untouched since 2018-01-01.
AND
- Affects Base System OR Documentation

DO:

Reset to open status.


Note:
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.
Comment 3 Peter Jeremy freebsd_committer freebsd_triage 2021-07-04 06:44:19 UTC
Are you still able to reproduce this problem?  If so, can you provide more detail of the crash you get.