Continuous Error Code in TTY consoles (solved--maybe)

Larry Hartman larryhartman50 at bellsouth.net
Sun Nov 12 23:59:17 UTC 2006


On Sunday 12 November 2006 18:23, H.J.Bathoorn wrote:
> On Sun, 12 Nov 2006 18:14:03 -0500
>
> Larry Hartman <larryhartman50 at bellsouth.net> wrote:
> > Add this to the puzzle, I commented out the fstab line for the cdrom and
> > the error still occurred.  Something more than just a mount issue, maybe
> > my friend at church was right, device driver error of sorts.
>
> This would require a reboot, of course. ;-)
> --
>
> Good luck,
> HarM.

I did some digging on the Ubuntu forums as I couldnt track the issue down in 
Kubuntu forums....here is what I found (below), that for the moment appears 
to have solved the problem.  You will all know tomorrow, if after receiving 
another email about this concern from me that it didnt work 
(tongue-in-cheek)....

Larry


http://ubuntuforums.org/showthread.php?t=135598&highlight=cdrom

This appears to be an HP lightscribe related problem.

Hi,
 
 I noticed the following errors on /var/log/kern.log:
 
 Feb 24 15:01:26 sneezy kernel: [4298612.008000] hdb: error code: 0x70 
sense_key: 0x02 asc: 0x30 ascq: 0x00
 Feb 24 15:01:28 sneezy kernel: [4298614.069000] hdb: error code: 0x70 
sense_key: 0x02 asc: 0x30 ascq: 0x00
 Feb 24 15:01:30 sneezy kernel: [4298616.130000] hdb: error code: 0x70 
sense_key: 0x02 asc: 0x30 ascq: 0x00
 
 The error will never stop unless I mount a cdrom in the drive. Any clue what 
might cause this??
 
 BTW I have an HP Pavilion dv1473ea laptop... The CDROM is a LightScribe+DVDP

Same thing was happening to me on my dv8000 series (I have the dv8040). The 
system uses a lightscribe drive identified in /proc as:
 
Code:
TSSTcorpCD/DVDW TS-L532M
I found this link and this link which helped me figure out the issue. It seems 
hald is polling the drive constantly causing my /var/log/syslog to fill up to 
almost 2gigs after a few days of computing. The issue can be fixed easily by 
leaving a cd or dvd in the drive or by telling HAL not to look at the drive 
al the time. open the file
 
Code:
/usr/share/hal/fdi/policy/10osvendor/10-storage-policy.fdi
and add the following code making sure to change /dev/hdc to match the device 
name of your lightscribe drive:
 
Code:
      <match key="storage.bus" string="ide">
        <match key="storage.model" string="TSSTcorpCD/DVDW TS-L532M">
          <match key="block.device" string="/dev/hdc">
            <merge key="storage.media_check_enabled" type="bool">false</merge>
          </match>
        </match>
      </match>

So, at the top of the file edit the section:
 
Code:
    
<!-- Whitelist bus types of storage devices we care about  -->
    <match key="info.capabilities" contains="storage">
      <match key="storage.bus" string="mmc">
        <merge key="storage.policy.should_mount" type="bool">true</merge>
      </match>
      <match key="storage.bus" string="usb">
        <merge key="storage.policy.should_mount" type="bool">true</merge>
      </match>
      <match key="storage.bus" string="ide">
        <merge key="storage.policy.should_mount" type="bool">true</merge>
      </match>
      <match key="storage.bus" string="ieee1394">
        <merge key="storage.policy.should_mount" type="bool">true</merge>
      </match>
      <match key="storage.bus" string="sata">
        <merge key="storage.policy.should_mount" type="bool">true</merge>
      </match>
      <match key="storage.bus" string="platform">
        <merge key="storage.policy.should_mount" type="bool">true</merge>
      </match>
to read:
 
Code:
    
<!-- Whitelist bus types of storage devices we care about  -->
    <match key="info.capabilities" contains="storage">
      <match key="storage.bus" string="ide">
        <match key="storage.model" string="TSSTcorpCD/DVDW TS-L532M">
          <match key="block.device" string="/dev/hdc">
            <merge key="storage.media_check_enabled" type="bool">false</merge>
          </match>
        </match>
      </match>
      <match key="storage.bus" string="mmc">
        <merge key="storage.policy.should_mount" type="bool">true</merge>
      </match>
      <match key="storage.bus" string="usb">
        <merge key="storage.policy.should_mount" type="bool">true</merge>
      </match>
      <match key="storage.bus" string="ide">
        <merge key="storage.policy.should_mount" type="bool">true</merge>
      </match>
      <match key="storage.bus" string="ieee1394">
        <merge key="storage.policy.should_mount" type="bool">true</merge>
      </match>
      <match key="storage.bus" string="sata">
        <merge key="storage.policy.should_mount" type="bool">true</merge>
      </match>
      <match key="storage.bus" string="platform">
        <merge key="storage.policy.should_mount" type="bool">true</merge>
      </match>

now just issue:
 
Code:
sudo /etc/init.d/dbus restart
and you are good to go.
 




More information about the kubuntu-users mailing list