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

kfreebsd-i386 wont honor eject from the command line; requires button




Target system:
HP Pavilion laptop
4GB ram
500 GB hard drive
32bit Intel i3
Tray loading dvd device with eject button

This is a triple-boot system. FreeBSD 10.0, Debian kfreebsd-i386, and Debian i386 are installed.
I've updated the /boot/grub/grub.cfg to have menu items for all 3 systems.

Parted printout of partitions:

root@hpdkfre:~# parted
GNU Parted 2.3
Using /dev/ada0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                            
Model: Generic IDE (ide)
Disk /dev/ada0: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name        Flags
 1      20.5kB  419MB   419MB                   efi         bios_grub
 2      419MB   420MB   131kB
 3      420MB   54.1GB  53.7GB  freebsd-ufs     fbsdroot
 4      54.1GB  62.7GB  8590MB  freebsd-ufs     fbsdswap
 5      62.7GB  113GB   50.0GB  freebsd-ufs     dkroot      boot
 6      113GB   115GB   2000MB  freebsd-ufs     dkboot
 7      115GB   125GB   10.0GB  freebsd-ufs     /commonufs
 8      125GB   129GB   4000MB  linux-swap(v1)  dkswap
 9      129GB   139GB   10.0GB  ext2            commonext2
10      139GB   189GB   50.0GB  ext4            debianroot
11      189GB   191GB   2000MB  ext2            debianboot
12      191GB   195GB   4000MB  linux-swap(v1)  debianswap

There are 3 operating systems installed:
FreeBSD 10.0 on partitions 2,3,4
Debian kfreebsd-i386 on partitions 5,6,7,8
Debian i386 on partitions 9,10,11,12
/etc/fstab on the debian kfreebsd-i386 system:
root@hpdkfre:~# more /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           linprocfs rw              0       0
sys             /sys            linsysfs rw              0       0
fdesc           /dev/fd         fdescfs rw              0       0
/dev/ada0p5     /               ufs     rw              0       1
/dev/ada0p6     /boot           ufs     rw              0       2
/dev/ada0p7     /commonufs      ufs     rw              0       2
/dev/ada0p8     none            swap    sw              0       0
/dev/cd0        /media/cdrom    cd9660  ro,noauto       0       0
root@hpdkfre:~# 

The bug being reported here is:

Ejecting /media/cdrom from the Debian kfreebsd-i386 command line results in an io error.
The media in the cdrom tray is Wheezy 7.0.0 kfreebsd-i386 DVD 1.

Hitting the eject button on the dvd tray opens the tray,
which is often essential to perform dvd exchange when installing
a package.

This bug is important because I'm also installing kfreebsd systems  on
3 Macs that don't have eject buttons. On these, he only way to eject is to 
restart with  mouse down or boot into another operating system like Debian i386 that honors eject. 

Terminal session:
root@hpdkfre:~# ls /media/cdrom
root@hpdkfre:~# ls /dev/cd0
/dev/cd0
root@hpdkfre:~# eject /media/cdrom
eject: unable to eject, last error: Input/output error
root@hpdkfre:~# eject /dev/cd0
eject: unable to eject, last error: Input/output error
root@hpdkfre:~# 


Reply to: