SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Debian Squeeze (6, current) to Wheezy (7, testing) broke mtx
Author Message
Post Debian Squeeze (6, current) to Wheezy (7, testing) broke mtx 
Hi All,

Performing a test upgrade of our Debian Squeeze server to the new Wheezy release has broken the mtx package.

MTX relies on a /dev/sg* device (under Squeeze, the autochanger was /dev/sg4) - however under Wheezy there is only /dev/sch0.

Trying to run mtx against it returns:

mtx -f /dev/sch0
/dev/sch0 is not an sg device, or old sg driver

lsscsi -g
[0:0:32:0] enclosu DP BACKPLANE 1.05 - -
[0:2:0:0] disk DELL PERC 6/i 1.22 /dev/sda -
[1:0:0:0] cd/dvd HL-DT-ST DVD-ROM GDR-T10N 1.02 /dev/sr0 -
[3:0:17:0] tape IBM ULT3580-TD4 B710 /dev/st0 -
[3:0:17:1] mediumx IBM 3573-TL 9t30 /dev/sch0 -
[3:0:18:0] tape IBM ULT3580-TD4 B710 /dev/st1 -


This is possibly a link to someone encountering the same problem: https://groups.google.com/forum/?fromgroups#!topic/linux.debian.bugs.dist/6thALMZOr8k

Anyone got any ideas?

View user's profile Send private message
Post Debian Squeeze (6, current) to Wheezy (7, testing) broke mtx 
On 6/07/2012 5:41 AM, comport3 wrote:
Hi All,

Performing a test upgrade of our Debian Squeeze server to the new Wheezy release has broken the mtx package.

MTX relies on a /dev/sg* device (under Squeeze, the autochanger was /dev/sg4) - however under Wheezy there is only /dev/sch0.

Trying to run mtx against it returns:

mtx -f /dev/sch0
/dev/sch0 is not an sg device, or old sg driver

lsscsi -g
[0:0:32:0] enclosu DP BACKPLANE 1.05 - -
[0:2:0:0] disk DELL PERC 6/i 1.22 /dev/sda -
[1:0:0:0] cd/dvd HL-DT-ST DVD-ROM GDR-T10N 1.02 /dev/sr0 -
[3:0:17:0] tape IBM ULT3580-TD4 B710 /dev/st0 -
[3:0:17:1] mediumx IBM 3573-TL 9t30 /dev/sch0 -
[3:0:18:0] tape IBM ULT3580-TD4 B710 /dev/st1 -


This is possibly a link to someone encountering the same problem: https://groups.google.com/forum/?fromgroups#!topic/linux.debian.bugs.dist/6thALMZOr8k

Anyone got any ideas?

Yes, I raised that Debian bug/wish-list item:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657948

I have just held my udev package at the version that isn't broken (Debian package version 172-1).
But for a fresh install that wouldn't be an option.

The change removed the following lines from /lib/udev/rules.d/80-drivers.rules

SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST!="[module/sg]", \
RUN+="/sbin/modprobe -b sg"

You you probably put that rule into your own local file underneath the /etc/udev/rule.d/ directory.
Failing that, manually running '/sbin/modprobe -b sg' at the right time would probably also do the trick.

Regards,

----------
Jim Barber
DDI Health

Post  
Jim, you are truly a life saver! Thank you very, very much!!!

View user's profile Send private message
Post Debian Squeeze (6, current) to Wheezy (7, testing) broke mtx 
On 6/07/2012 12:37 PM, comport3 wrote:
Jim, you are truly a life saver! Thank you very, very much!!!

FYI, Debian has just closed this bug today.
Version 175-4 of the udev package will re-enable the sg devices again.
It isn't in Debian testing yet as far as I can see, but I guess will filter down in a few days.

Regards,

Jim Barber
Senior Systems Administrator
Primary Health Care Limited
Innovations & Technology Group

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB