partition/cd recognition problem hal GNOME 2.16 FreeBSD RELEASE 6.2

Charles Schaum verbo.solo at sbcglobal.net
Tue Feb 6 03:05:26 UTC 2007


Kudos to the GNOME FreeBSD team for continuing
improvements.

Problem: Hal no longer recognizes all vfat partitions.
Two vfat partitions at ad0s1 and ad1s2 exist. Only
ad0s1 now appears.

CD burning now proceeds better via Nautilus. Before
portsnap / portmaster that failed altogether. Now CD-R
burning succeeds, whilst CD-RW burning can still hang
the machine altogether. Gnomebaker, however, has
worked consistently.

Once burned, if not ejected, the CD is not recognized
any more in the burning drive and in the auxiliary
drive. Mac OS X can, however, recognize the CD.

Indeed after burning a CD and closing the dialog
(without ejecting) no CD or DVD of any kind was
recognized any more, nor was any console error output
generated. The devices simply ceased to communicate.


System:

FreeBSD elbereth.gateway.2wire.net 6.2-RELEASE FreeBSD
6.2-RELEASE #0: Thu Jan 18 02:38:23 CST 2007    
root at elbereth.gateway.2wire.net:/usr/obj/usr/src/sys/ELBERETH
 i386

Environment

SSH_AGENT_PID=975
TERM=xterm
DESKTOP_STARTUP_ID=
SHELL=/usr/local/bin/bash
GTK_RC_FILES=/usr/local/etc/gtk/gtkrc:/home/charles/.gtkrc-1.2-gnome2
WINDOWID=39845945
USER=charles
ENV=/home/charles/.shrc
GNOME_KEYRING_SOCKET=/var/tmp/keyring-2KqN8Y/socket
SSH_AUTH_SOCK=/tmp/ssh-ylD4KtDk05/agent.957
SESSION_MANAGER=local/elbereth.gateway.2wire.net:/tmp/.ICE-unix/957
USERNAME=charles
PAGER=more
FTP_PASSIVE_MODE=YES
PATH=/sbin:/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/games:/usr/X11R6/bin:/home/charles/bin
DESKTOP_SESSION=gnome
MAIL=/var/mail/charles
BLOCKSIZE=K
GDM_XSERVER_LOCATION=local
PWD=/home/charles
EDITOR=vi
GDMSESSION=gnome
SHLVL=1
HOME=/home/charles
GNOME_DESKTOP_SESSION_ID=Default
LOGNAME=charles
DBUS_SESSION_BUS_ADDRESS=unix:path=/var/tmp/dbus-MnUbvMsO9r,guid=3be5a4c376163957c4b32c0045c7b947
DISPLAY=:0.0
COLORTERM=gnome-terminal
XAUTHORITY=/home/charles/.Xauthority
_=/usr/bin/env

System changes: Custom kernel compiled to include
ATAPICAM, sound and VESA; unused NIC's commented out.
Generally retain options from GENERIC.
System has not been updated from the releace CD's.
Only the ports tree has changed (via portsnap).

This dmesg was obtained after recovering from a total
locup following an attempt to write to a CD-RW. I then
burned a CD-R successfully and then lost all mounting
ability.

FreeBSD elbereth.gateway.2wire.net 6.2-RELEASE FreeBSD
6.2-RELEASE #0: Thu Jan 18 02:38:23 CST 2007    
root at elbereth.gateway.2wire.net:/usr/obj/usr/src/sys/ELBERETH
 i386
[charles at elbereth ~]$ env
SSH_AGENT_PID=975
TERM=xterm
DESKTOP_STARTUP_ID=
SHELL=/usr/local/bin/bash
GTK_RC_FILES=/usr/local/etc/gtk/gtkrc:/home/charles/.gtkrc-1.2-gnome2
WINDOWID=39845945
USER=charles
ENV=/home/charles/.shrc
GNOME_KEYRING_SOCKET=/var/tmp/keyring-2KqN8Y/socket
SSH_AUTH_SOCK=/tmp/ssh-ylD4KtDk05/agent.957
SESSION_MANAGER=local/elbereth.gateway.2wire.net:/tmp/.ICE-unix/957
USERNAME=charles
PAGER=more
FTP_PASSIVE_MODE=YES
PATH=/sbin:/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/games:/usr/X11R6/bin:/home/charles/bin
DESKTOP_SESSION=gnome
MAIL=/var/mail/charles
BLOCKSIZE=K
GDM_XSERVER_LOCATION=local
PWD=/home/charles
EDITOR=vi
GDMSESSION=gnome
SHLVL=1
HOME=/home/charles
GNOME_DESKTOP_SESSION_ID=Default
LOGNAME=charles
DBUS_SESSION_BUS_ADDRESS=unix:path=/var/tmp/dbus-MnUbvMsO9r,guid=3be5a4c376163957c4b32c0045c7b947
DISPLAY=:0.0
COLORTERM=gnome-terminal
XAUTHORITY=/home/charles/.Xauthority
_=/usr/bin/env
[charles at elbereth ~]$ dmesg
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989,
1991, 1992, 1993, 1994
        The Regents of the University of California.
All rights reserved.
FreeBSD is a registered trademark of The FreeBSD
Foundation.
FreeBSD 6.2-RELEASE #0: Thu Jan 18 02:38:23 CST 2007
   
root at elbereth.gateway.2wire.net:/usr/obj/usr/src/sys/ELBERETH
module_register: module vesa already exists!
Module vesa failed to register: 17
ACPI APIC Table: <INTEL  D845GLVA>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.40GHz (2399.74-MHz
686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNTX-ID,<b14>>
real memory  = 527695872 (503 MB)
avail memory = 506363904 (482 MB)
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <INTEL D845GLVA> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality
1000
acpi_timer0: <24-bit timer at 3.579545MHz> port
0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on
acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82845G (845G GMCH) SVGA controller> mem
0xf0000000-0xf7ffffff,0xffa80000-0xffafffff irq 16 at
device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
uhci0: <Intel 82801DB (ICH4) USB controller USB-A>
port 0xe800-0xe81f irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on
uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B>
port 0xe880-0xe89f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on
uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C>
port 0xec00-0xec1f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on
uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0 controller>
mem 0xffa7fc00-0xffa7ffff irq 23 at device 29.7 on
pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1
usb2
usb3: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> on
ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00,
addr 1
uhub3: 6 ports with 6 removable, self powered
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
fxp0: <Intel 82801DB (ICH4) Pro/100 VE Ethernet> port
0xdc00-0xdc3f mem 0xff8ff000-0xff8fffff irq 20 at
device 8.0 on pci1
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto
fxp0: Ethernet address: 00:07:e9:4f:e7:39
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at
device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver
attached)
pcm0: <Intel ICH4 (82801DB)> port
0xe400-0xe4ff,0xe080-0xe0bf mem
0xffa7f800-0xffa7f9ff,0xffa7f400-0xffa7f4ff irq 17 at
device 31.5 on pci0
pcm0: primary codec not ready!
pcm0: <SigmaTel STAC9750/51 AC97 Codec>
acpi_button0: <Sleep Button> on acpi0
fdc0: <floppy drive controller> port
0x3f0-0x3f1,0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2
on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff
irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0: <Standard parallel printer port> port
0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64
irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem
0xa0000-0xbffff on isa0
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
uscanner0: Hewlett-Packard HP ScanJet 5200C, rev
1.00/1.00, addr 2
Timecounter "TSC" frequency 2399737324 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 76319MB <WDC WD800JB-00ETA0 77.07W77> at
ata0-master UDMA100
ad1: 152587MB <WDC WD1600JB-75GVA0 08.02D08> at
ata0-slave UDMA100
acd0: DVDR <NEC DVD RW ND-2500A/1.06> at ata1-master
UDMA33
acd1: CDROM <ATAPI 52X CDROM/VER-1.40> at ata1-slave
UDMA33
Trying to mount root from ufs:/dev/ad0s2a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
/home: mount pending error: blocks 136 files 2
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /usr/obj was not properly dismounted
WARNING: /usr/ports was not properly dismounted
WARNING: /usr/src was not properly dismounted
WARNING: /var was not properly dismounted
cd0 at ata1 bus 0 target 1 lun 0
cd0: <ATAPI 52X CDROM 1.40> Removable CD-ROM SCSI-0
device 
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY,
Medium not present
cd1 at ata1 bus 0 target 0 lun 0
cd1: <_NEC DVD_RW ND-2500A 1.06> Removable CD-ROM
SCSI-0 device 
cd1: 33.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY,
Medium not present
drmsub0: <Intel i845G GMCH>: (child of agp_i810.c) on
agp0
info: [drm] AGP at 0xf0000000 128MB
info: [drm] Initialized i915 1.4.0 20060119
(cd1:ata1:0:0:0): READ TOC/PMA/ATIP {MMC Proposed}.
CDB: 43 0 0 0 0 0 0 0 4 0 
(cd1:ata1:0:0:0): CAM Status: SCSI Status Error
(cd1:ata1:0:0:0): SCSI Status: Check Condition
(cd1:ata1:0:0:0): ILLEGAL REQUEST asc:24,0
(cd1:ata1:0:0:0): Invalid field in CDB: Command byte 2
is invalid
(cd1:ata1:0:0:0): Unretryable error
pid 761 (hald-runner), uid 0: exited on signal 11
(core dumped)
pid 37632 (hald-probe-volume), uid 0: exited on signal
6 (core dumped)

Note that the core was dumped in /. I have it but I
will not post it, but can send it on request.

/etc/fstab has:

# Device                Mountpoint      FStype 
Options         Dump    Pass#

#suggested by some sources but probably bad
#proc /proc procfs rw 0 0
#linproc /usr/compat/linux/proc linprocfs rw 0 0

/dev/ad1s1b             none            swap    sw    
         0       0
/dev/ad0s2a             /               ufs     rw    
         1       1
/dev/ad1s1f             /home           ufs     rw    
         2       2
/dev/ad0s2d             /tmp            ufs     rw    
         2       2
/dev/ad0s2e             /usr            ufs     rw    
         2       2
/dev/ad1s1e             /usr/obj                ufs   
 rw              2      2
/dev/ad0s2g             /usr/ports              ufs   
 rw              2      2
/dev/ad0s2f             /usr/src                ufs   
 rw              2      2
/dev/ad1s1d             /var            ufs     rw    
         2       2

#comment out if using hald
#/dev/acd0               /cdrom          cd9660 
ro,noauto       0       0
#/dev/acd1               /cdrom1         cd9660 
ro,noauto       0       0

uncommented lines of /etc/devfs.conf are:
perm    devstat 0444

perm    acd0    0666
perm    acd1    0666
perm    cd0     0666
perm    cd1     0666
perm    xpt0    0666
perm    xpt1    0666
perm    pass0   0666
perm    pass1   0666

link acd0 dvd
link acd0 rdvd
link acd0 cdrom

perm    ad0s1   0666
perm    ad1s2   0666

uncommented lines of /etc/sysctl.conf are:

kern.ipc.shmmax=67108864
kern.ipc.shmall=32768
kern.ipc.semmni=40
kern.ipc.semmns=300


Do I need vfs.usermount=1 anymore? It doesn't seem so.

Please CC to me since I have not yet joined this list.

Charles



More information about the freebsd-gnome mailing list